Skip to content

Backrefs not correctly accounting for subroutines  #29

@slevithan

Description

@slevithan

E.g. (?<a>[ab])\g<a>\k<a> is generating /([ab])([ab])\1/ but should be generating /([ab])([ab])\2/.

There are a variety of other edge cases around backreferences and subroutines that js_regex is also not currently handling.

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