Re:Is there a regular expression to detect a valid regular e...
by kyberias on Sunday September 08, 2019 @09:36AM
(#20910489)
I hate it how the accepted answer is incorrect and does not teach the fundamental property of regular expressions.
[ Parent
| on HN ]
Re:Is there a regular expression to detect a valid regular e...
by PeterisP on Sunday September 08, 2019 @10:35AM
(#20910804)
The fundamental property of regular expressions is that the programming/software engineering concept of "regex" or "regular expression" is fundamentally different from the mathematical concept of "regular language".
If you see "regex" without any special context and start thinking about what it can/can't do, then the first association should be with something like PCRE and its capabilities, not something that's bound by the pumping lemma.