Skip to content

Incorrect fix for (?0) with endanchored #334

@addisoncrump

Description

@addisoncrump

Discovered by #322.

Found another case where (?0) is improperly handled:

  re> /(?0)*./endanchored,ungreedy
data> abcd
 0: abcd
data> abcd\=no_jit
Failed: error -52: nested recursion at the same subject position

I think this is related, if not a corner case of, #331.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions