Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only supports latin1 characters? #25

Open
5j9 opened this issue Nov 6, 2016 · 0 comments
Open

Only supports latin1 characters? #25

5j9 opened this issue Nov 6, 2016 · 0 comments

Comments

@5j9
Copy link

5j9 commented Nov 6, 2016

>>> 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant