-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_escape() in funs.py makes it impossible to match end of line? #16
Comments
(For ease of discussion, it's always good to link to functions by copying the uri for the given line. Press "Y" for the permanent commit identified URI, and select the line) choco-mufin/chocomufin/funcs.py Lines 119 to 131 in b1c009c
|
Given the function, |
Ah my bad, I read too quickly! |
I'd check if $ in parenthesis does not malfunction |
I need to investigate this more to see if this is really the problem, but it seems that the static method
_escape()
in funcs.py causes a pattern such as#r#-$
to look for the literal string-$
instead of-<end-of-line>
.I am wondering what were the motivations of _escape(), and if we can have an alternative approach to be able to fully use regex' syntax.
The text was updated successfully, but these errors were encountered: