Skip to content

<regex>: Remove nodes for capturing group 0 from the NFA #6025

Description

Recent versions of the matcher skip the NFA nodes of type _N_capture and _N_end_capture for storing the start and end iterators of capturing group 0. We should remove these nodes from the NFA.

This change will have to wait until vNext because old versions of the matcher do use the _N_capture node to compute capturing group 0.

vNext note: Resolving this issue will require breaking binary compatibility. We won't be able to accept pull requests for this issue until the vNext branch is available. See #169 for more information.

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

    performanceMust go fasterregexmeow is a substring of homeownervNextBreaks binary compatibility

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions