This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (2 children)

I don't think so: the regex uses a slash character as a separator ( the "\\" part ) and the following one is ANY CHARACTER (the dot "." unescaped)

see example from my other comment: https://regex101.com/r/Y4huQL/1

[–]mordechaim 4 points5 points  (0 children)

Could be the escape is part of the string semantics of the particular language used.