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
Patch for sre bug 610299 #37408
Comments
Bug report 610299 points out this discrepancy: >>> re.compile(r'\w{1}', re.U).sub('X', u'hello caf\xe9')
u'XXXXX XXXX'
>>> re.compile(r'\w', re.U).sub('X', u'hello caf\xe9')
u'XXXXX XXX\xe9' The problem is in sre_compile.py: the call to The attached patch changes this call to pass in the flags; it |
Logged In: YES There's no uploaded file! You have to check the Please try again. (This is a SourceForge annoyance that we can do |
Logged In: YES Sorry, I though I marked the checkbox (I know I went throught |
Logged In: YES Grabbing this since effbot seems unresponsive. |
Logged In: YES Thanks! Fixed in 2.3. Keeping open for fixing in 2.2.3. |
Logged In: YES Backport checked in. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: