pomsky icon indicating copy to clipboard operation
pomsky copied to clipboard

Recursion

Open Aloso opened this issue 3 years ago • 0 comments

Using the keyword recursion. For example:

'(' recursion* ')' | [not '()']+

Compiles to

\((?R)*\)|[^()]+?

Which matches any text with balanced parentheses.

Aloso avatar Feb 26 '22 16:02 Aloso