Answer the question
In order to leave comments, you need to log in
What does such a regular expression validate?
I analyze the obfuscated code, in many places there is such a regular expression (in the context of larger ones), but I just can’t understand what it filters?
\\x1\d{6}
Answer the question
In order to leave comments, you need to log in
the example above uses the \xdd metacharacter used to find latin characters by specifying their hex value
\d - means parsing numbers (0-9)
{6} - means 6-digit number
1 - hex value starts at 1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question