-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Python: Understand multiple parse mode flags specified in a regular expression string #13779
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
Conversation
yoff
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice PR, good choice of tests. Also, thanks for doing this 🙏
|
The test failures can be explained by |
|
In summary, I think you can just fix the test expectations and then we can merge :-) |
|
Sorry, my notification on this got lost somewhere. Thank you for reviewing. There's some related investigation / discussion going on in the Java version of this PR (#13778), so I'll wait until everything's settled and port any fixes that arise back to here. |
…ars should not be considered chars' issue.
yoff
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let us merge this now, and then let us merge #13975 soon.
Understand / correctly parse multiple parse mode flags specified in a regular expression string, for example
iandsin:Previously we were only recognizing the first flag (
i).This is a backport of part of the Swift PR #13715 .