Skip to content

Support modifier spans in re #1419

@slozier

Description

@slozier

For example:

assert re.match('(?i)g(?-i:v)r', "GVR") is None

Modifier spans are used by the string module in 3.6.

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

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