in reply to Re^4: xml parsing without using cpan modules
in thread xml parsing without using cpan modules
Absolutely. That regex only works because it starts at a known position (start of markup) and matches either the entire chunk or fails. It needs to see the entire document and can't work line-by-line. It is also complicated to handle the whole XML synax.