You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting a SyntaxError when debugging some code. The error is related to an invalid use with \ in the context of string matching (see link for exact line below).
E File "local\.venv\Lib\site-packages\pysbd\segmenter.py", line 66
E for match in re.finditer('{0}\s*'.format(re.escape(sent)), self.original_text):
E ^^^^^^^^
E SyntaxError: invalid escape sequence '\s'
I am getting a SyntaxError when debugging some code. The error is related to an invalid use with \ in the context of string matching (see link for exact line below).
Which raises the following error:
pySBD/pysbd/segmenter.py
Line 66 in 5905f13
The text was updated successfully, but these errors were encountered: