fixed anomalous backslash in string

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

View File

@@ -63,9 +63,9 @@ import warnings
import itertools
from collections import namedtuple
RE_WORD = re.compile('\w+')
RE_WORD = re.compile(r'\w+')
RE_UNICODE_NAME = re.compile('^[A-Z0-9 -]+$')
RE_CODEPOINT = re.compile('U\+([0-9A-F]{4,6})')
RE_CODEPOINT = re.compile(r'U\+([0-9A-F]{4,6})')
INDEX_NAME = 'charfinder_index.pickle'
MINIMUM_SAVE_LEN = 10000