fixed anomalous backslash in string
This commit is contained in:
1 parent
dd164484a3
commit
9fb76efc35
14 files changed
+17
-17
No files matched your search
@@ -8,7 +8,7 @@
|
||||
import sys
|
||||
import re
|
||||
|
||||
WORD_RE = re.compile('\w+')
|
||||
WORD_RE = re.compile(r'\w+')
|
||||
|
||||
index = {}
|
||||
with open(sys.argv[1], encoding='utf-8') as fp:
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
import sys
|
||||
import re
|
||||
|
||||
WORD_RE = re.compile('\w+')
|
||||
WORD_RE = re.compile(r'\w+')
|
||||
|
||||
index = {}
|
||||
with open(sys.argv[1], encoding='utf-8') as fp:
|
||||
|
||||
@@ -9,7 +9,7 @@ import sys
|
||||
import re
|
||||
import collections
|
||||
|
||||
WORD_RE = re.compile('\w+')
|
||||
WORD_RE = re.compile(r'\w+')
|
||||
|
||||
index = collections.defaultdict(list) # <1>
|
||||
with open(sys.argv[1], encoding='utf-8') as fp:
|
||||
|
||||
Reference in new issue
Block a user