in reply to Re^3: XMLin questionin thread XMLin question
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
An Englishman in New York
An American Werewolf in London
An American in Paris
The Innocents Abroad
An Idiot Abroad
Robinson Crusoe on Mars
A Connecticut_Yankee in King Arthur's Court
There and Back Again
Travels into Several Remote Nations of the World
Results (97 votes). Check out past polls.