Skip to content
Permalink
Browse files Browse the repository at this point in the history
feat: Added case-insensitivity detects the IE octal/hex/unicode entities
Modified the regular expression rule for handling escape characters by
adding the case-insensitive `(?i)` flag to the rule. This change ensures
that the regular expression will match escape characters regardless of
their case, making the rule more flexible and accommodating a larger
range of possibilities.
  • Loading branch information
dwisiswant0 committed Jan 12, 2023
1 parent 1250c43 commit d818d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filters.json
Expand Up @@ -98,7 +98,7 @@
},
{
"id":"9",
"rule":"(?:\\\\u(?:\\{(0{1,})?[a-f0-9]{2}\\}|00[a-f0-9]{2}))|(?:\\\\x0*[a-f0-9]{2})|(?:\\\\\\d{2,3})",
"rule":"(?i)(?:\\\\u(?:\\{(0{1,})?[a-f0-9]{2}\\}|00[a-f0-9]{2}))|(?:\\\\x0*[a-f0-9]{2})|(?:\\\\\\d{2,3})",
"description":"Detects the IE octal, hex and unicode entities",
"tags":{
"tag":[
Expand Down

0 comments on commit d818d16

Please sign in to comment.