Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
findRegexp does not compile escaped character sequences correctly #1411
But I think the regex compiler is not being passed the escape sequence.
added a commit
Apr 7, 2015
Not a bug. \ serves as an escape character in the regexp language. \ is also an escape character in SC string literals. If you are writing a SC string literal whose value should include a backslash character (serving as a regexp escape), then yes, you need two backslashes.
I guess that's why python uses the special r string: r"exp."
the r before the string marks it as a special type so its compiled with the
On Mon, Apr 13, 2015 at 4:31 PM jamshark70 email@example.com wrote: