Merge pull request #4730 from guoci/regex_no_warning

prevent raising of FutureWarning in regex
This commit is contained in:
Takeshi KOMIYA
2018-03-14 01:54:20 +09:00
committed by GitHub

View File

@@ -23,7 +23,7 @@ if False:
# For type annotation
from typing import Generator # NOQA
symbols_re = re.compile(r'([!--/:-@\[-`{-~])') # symbols without dot(0x2e)
symbols_re = re.compile(r'([!-\-/:-@\[-`{-~])') # symbols without dot(0x2e)
logger = logging.getLogger(__name__)