Skip to content

Backreferences to non-participating groups are handled incorrectly #26

Open
@jaynetics

Description

@jaynetics

Issue extracted from #21.

E.g. ruby does this:

/\1()/.match?('foo') # => false

but the resulting js regex, with the same source, produces a zero-length match on any string.

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