in reply to
Re^3: XMLin question
in thread XMLin question
naturally, untested, doesn't work :/
But, I don't think it will work, anyway. /([><])([^\w])/ would fix every "</" in your XML, and that just isn't right.
I'm not surprised. \K was added in perl 5.10 but with -e perl won't use any features that are so "recent".
That doesn't apply to regex syntax, see feature
Anyway, I didn't test oneliner originally, and didn't try hard to fix it because I wrote xmlfixup.pl
I make decisions, and my brain carries them out
My brain makes the decisions, and I observe them (if I'm lucky)
I make some decisions, and my brain makes others
My spouse makes decisions and I and my brain carry them out
I wrote a program to relieve me and my brain from the burden of decision-making
The black-helicopter people project the decisions into my brain and then I do as ordered
Results (362 votes),