We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would be great if you could support case-insensitive matching.
Or elaborate the docs, if this is already possible?
The text was updated successfully, but these errors were encountered:
Both regex and re support IGNORECASE arguments.
Maybe it would be possible to just pass *args and **kwargs onto regex/re?
Sorry, something went wrong.
I think winpat's PR, #39 would give you what you need, right?
Yes, I believe it would... whenever #39 build succeeds and a new pygrok version is released.
# python=3.8.5, pygrok=1.0.0 from pygrok import Grok import re text = 'gary IS male' pattern = '%{WORD:name} is %{WORD:gender}' grok = Grok(pattern, flags=re.IGNORECASE) print (grok.match(text)) # -> unexpected keyword argument 'flags'
No branches or pull requests
I would be great if you could support case-insensitive matching.
Or elaborate the docs, if this is already possible?
The text was updated successfully, but these errors were encountered: