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


in reply to Re^2: Regex priorities.
in thread Regex priorities.

Well personally, if its actual XML I'd use something like Re^3: parse xml and store data in array of hashesh -- as you can see from the path trace, its a depth first search