|P is for Practical|
Re: Pattern Matchingby si_lence (Deacon)
|on Feb 01, 2005 at 09:10 UTC||Need Help??|
my underdastanding is that ".*?" eats up much more than you want it to,
because the overall match has to succeed. It can match without giving up
the initial match of <index-entry id= and therfore it will.
if you change it to
it should work.
But this looks like XML of some kind so maybe your better off using a
module for this kind of tasks anyway?