ICU-tokenizer icon indicating copy to clipboard operation
ICU-tokenizer copied to clipboard

type annotation problem for regex

Open juncaofish opened this issue 3 years ago • 1 comments

could you please remove the type annotation for variable:

email_pattern: regex.regex.Pattern = regex.compile(email_pstr, re.IGNORECASE)

it has conflicts with former version like: [regex](https://pypi.python.org/pypi/regex)==2018.11.22

and also I don't know why it need the annotation here.

juncaofish avatar Jan 17 '22 13:01 juncaofish

This is a good catch! Merged!

mingruimingrui avatar Jan 19 '22 07:01 mingruimingrui