"be consistent" | |
PerlMonks |
Re^2: XML cleanup - regex or ?by ethrbunny (Monk) |
on Sep 21, 2010 at 15:11 UTC ( [id://861088]=note: print w/replies, xml ) | Need Help?? |
I have to clean the file line by line. Many of the downloads are 2+Gb long and I get memory errors if I do too much in RAM. I've been considering a 'cascade' of regex to toss out the noise. Something like testing for the cat, dog, etc, then looking for the param list. Lots of nested ifs. It seems messy but it might be the only avenue. I was hoping there was a slick regex process to do this instead.
In Section
Seekers of Perl Wisdom
|
|