pyregex icon indicating copy to clipboard operation
pyregex copied to clipboard

Only supports latin1 characters?

Open 5j9 opened this issue 9 years ago • 0 comments

>>> import re
>>> regex = r'ě'
>>> test_string = 'ě'
>>> flags = 0
>>> re.compile(regex, flags).match(test_string)
<_sre.SRE_Match object at 0x7f62f1150370>

Using the same character (ě), or any string that contains such not latin1 characters, e.g. 'ي', on http://www.pyregex.com/ won't return any results.

5j9 avatar Nov 06 '16 00:11 5j9