From b9c71fc0f050b29d34ab86c71e7f2a4bd88ac473 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sat, 9 Mar 2019 02:46:04 +0100 Subject: [PATCH] Fix flags --- spacy/lang/fr/tokenizer_exceptions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spacy/lang/fr/tokenizer_exceptions.py b/spacy/lang/fr/tokenizer_exceptions.py index b0f188278..4b3b2c908 100644 --- a/spacy/lang/fr/tokenizer_exceptions.py +++ b/spacy/lang/fr/tokenizer_exceptions.py @@ -423,5 +423,5 @@ _regular_exp.append(URL_PATTERN) TOKENIZER_EXCEPTIONS = _exc TOKEN_MATCH = re.compile( - "|".join("(?:{})".format(m) for m in _regular_exp), re.IGNORECASE, re.UNICODE + "|".join("(?:{})".format(m) for m in _regular_exp), re.IGNORECASE | re.UNICODE ).match