Re:Is there a regular expression to detect a valid regular e...
by saltcured on Sunday September 08, 2019 @04:47PM
(#20913315)
Grouping is very useful, but I think you can get pretty far in practical patterns with a limit of k-nesting for k=0..3 or so. That pattern language would still be regular.
Grouping & capturing parentheses can stay. It's only the back-referrences that you need to remove.