Skip to content

Wrong bounds for find + non-greedy operator #1

@nitely

Description

@nitely

Find is always greedy even when non-greedy is specified i.e: a.*?b. This was fixed in nim-regex (nitely/nim-regex#62) which now shares a similar algorithm for the NFA. A very similar fix can be implemented for nregex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions