Problems? Is your data what you think it is? | |
PerlMonks |
Re: Chatterbox XML Ticker brokenby mirod (Canon) |
on Feb 12, 2002 at 19:09 UTC ( [id://144954]=note: print w/replies, xml ) | Need Help?? |
An old trick I used when fixing crappy SGML data: s{<(\W)}{<$1}g; Now that I think of it you can also use lookahead to get elegance points: s{<(?=\W)}{<}g; (untested), which should also get you correcteness points as it also works for << too, contrary to my first attempt.
In Section
Perl Monks Discussion
|
|