Skip to content

Commit 94786d9

Browse files
committed
Pin the version of regex to avoid error in dateparser
If you use a more recent version of regex, you get the following error: ``` regex._regex_core.error: bad escape \d at position 7 ``` Solution posted by user Mehmet Kaan Erkoç on 2022-03-16 to Stack Overflow at <https://stackoverflow.com/a/71504213/743730>
1 parent c84b55c commit 94786d9

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

requirements.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@ httpx == 0.23.0
1515
humanize >= 3.9.0
1616
python_dateutil == 2.8.2
1717
pywin32 >= 301; sys_platform == 'win32'
18+
19+
# If you use a more recent version of regex, you get the following error:
20+
# "regex._regex_core.error: bad escape \d at position 7"
21+
# Problem analysis and solution posted by user Mehmet Kaan Erkoç on 2022-03-16
22+
# to Stack Overflow at https://stackoverflow.com/a/71504213/743730.
23+
regex <= 2022.3.2
24+
1825
sidetrack >= 2.0.0
1926
tldextract == 3.0.2
2027
validator-collection == 1.5.0

0 commit comments

Comments
 (0)