Skip to content

Only supports latin1 characters? #25

Description

@5j9
>>> 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions