-
Notifications
You must be signed in to change notification settings - Fork 13
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
Deprecation warnings on Python 3.7 #31
Comments
One of these have i fixed with 97acbc4#diff-7e85869c19954199a320efc15b208cb9 But two still exists. But i haven't find the wrong regexp :( |
These are really tough ones! Especially as the deprecation warning is truncated. I patchted CPython in
So it seems it is the When I remove the flag from As a side note - the tests still pass - so either this flag is not needed at all, or the tests miss a special test case. Does this help you? Unfortunately, I rarely work with regexes, and especially not with complex ones as here. Without further studying I cannot help here. |
|
(?i) is re.IGNORECASE The image tag doesn't contain anything that must match case-insensitive. So it can be removed, to fix: #31
Removed with #39 ... Can you confirm? |
Indeed, the deprecation warnings are gone. |
The text was updated successfully, but these errors were encountered: