Skip to content

re.ASCII flag can be set within the scope of a group #2066

Description

@slozier

The re.ASCII flag (as well as re.LOCALE and re.UNICODE) can be set within the scope of a group. For example the (?a:[_a-z][_a-z0-9]*) pattern is used in the string module in Python 3.7.

https://docs.python.org/3/whatsnew/3.7.html#re

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions