Y
Hacker News
new
|
ask
|
show
|
jobs
by
petrikapu
3011 days ago
Is there regular expression to match regular expression?
1 comments
ridiculous_fish
3011 days ago
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.
link