fixed anomalous backslash in string

This commit is contained in:
anancds committed 2019-03-20 22:05:34 +08:00
1 parent dd164484a3
commit 9fb76efc35
14 files changed
+17 -17

No files matched your search

+2 -2
View File
@@ -6,9 +6,9 @@ import re
import reprlib
RE_TOKEN = re.compile('\w+|\s+|[^\w\s]+')
RE_TOKEN = re.compile(r'\w+|\s+|[^\w\s]+')
RE_WORD = re.compile('\w+')
RE_PUNCTUATION = re.compile('[^\w\s]+')
RE_PUNCTUATION = re.compile(r'[^\w\s]+')
class SentenceSlice: