Re:Regular Expressions – Mastering Lookahead and Lookbehind
by petrikapu on Friday March 16, 2018 @12:50PM
(#16601932)
Is there regular expression to match regular expression?
[ Parent
| on HN ]
Re:Regular Expressions – Mastering Lookahead and Lookbehind
by ridiculous_fish on Friday March 16, 2018 @12:59PM
(#16602030)
No. One way to convince yourself of this is that regexp capture groups must properly nest: /())(()/ is invalid for example. Regexps famously cannot match balanced parenthesis.