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
In reply to Re^6: XMLin question
by Anonymous Monk
in thread XMLin question
by stryda42
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |