Skip to content

Wrong result for empty repetitions #3

@nitely

Description

@nitely

Regex similar to ($|^)\w+ will always return false. Regex similar to ($*)*\w+ won't return an empty capture (or won't always return the right result, I don't remember anymore). This was fixed in nim-regex, see nitely/nim-regex#79 and nitely/nim-regex#84

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