-
Notifications
You must be signed in to change notification settings - Fork 189
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
Regex usage causing error with python > 3.6 #142
Comments
i have this issue too! |
Yes this issue still remains. |
Ended up doing it this way:
|
still same on python3.8 |
thanks alot <3 works with 3.8 |
levcovenant
added a commit
to levcovenant/python-whois
that referenced
this issue
Mar 3, 2020
FYI this was also fixed in @kilgoretrout1985 fork of |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This function:
python-whois/pythonwhois/parse.py
Line 203 in 7b0ddf7
causes an error
re.error: bad escape \s at position 0
when using python > 3.6. You can try it here: https://wandbox.org/permlink/D6ZEUWfMIs7wYK77Please note, that in python 3.7: "Unknown escapes consisting of '\' and an ASCII letter in replacement templates for re.sub() were deprecated in Python 3.5, and will now cause an error." (https://docs.python.org/3/whatsnew/3.7.html).
It seems that that's the only problem with python > 3.6.
The text was updated successfully, but these errors were encountered: