in reply to Re^2: Conditional regex
in thread Conditional regex
You could do some nested matching to make this "work" with regular expressions, as you were trying above but it is the wrong way to solve the problem for two reasons: it's as difficult as the related parser code and unless you're Jeffrey Friedl, it will never work as well as the related parser code.
|
---|