http://www.perlmonks.org?node_id=972765


in reply to Regex priorities.

How do I fix this?

I read you fix it with "recursive regexes" but I'm not sure that maps well/easy to xml. See

I'm the kind that would just use a parser :)

Replies are listed 'Best First'.
Re^2: Regex priorities.
by Steve_BZ (Chaplain) on May 28, 2012 at 15:05 UTC

    Hi Anon,

    Thanks for this. I did in fact read most of the links you so kindly posted.

    I also thought it was a bit like a compiler problem and parsing was a potential solution, but I thought it would take longer. I was quite interested in how you would have parsed it.

    Regards

    Steve