-
Notifications
You must be signed in to change notification settings - Fork 50
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
Terminals as regular expresions #8
Comments
Any update on this? I almost got it working using this ugly rule import re
parsley.makeGrammar("d = anything*:x !(re.compile('(?i){test}').match(''.join(x)) and ''.join(x))".format(test="TeSt"), {"re": re})("TeSt").d() |
having an |
+1. Provided that all On Tue, Apr 23, 2013 at 2:23 AM, washort [email protected] wrote:
Javier de la Rosa |
Any advance on this? Thanks! |
I need to build a grammar from user inputs, and I was trying to do something like this
But having
{test}
case insensitive, so I tried the nextBut none of them worked. Is there any way to achieve that?
The text was updated successfully, but these errors were encountered: