-
Notifications
You must be signed in to change notification settings - Fork 191
Open
Description
This function:
python-whois/pythonwhois/parse.py
Line 203 in 7b0ddf7
| def preprocess_regex(regex): |
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.
croxarens, sebix, joelgenter, SwapnilSoni1999, alessandromarchetti and 1 more
Metadata
Metadata
Assignees
Labels
No labels