Skip to content

[Regex] What about using recursive patterns for balanced parentheses? #12

@aercolino

Description

@aercolino

Regex::find_duplicate_numbers and Regex::explode_alternation both need balanced parentheses and they scan the subject for them one character at a time.

  • Would it be possible to use something like in this comment?
  • Would it make sense?
  • Would the code be simpler of faster?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions