![]() |
|
P is for Practical | |
PerlMonks |
Re: Re: mutiple-line regexes?by Arien (Pilgrim) |
on Aug 19, 2002 at 07:33 UTC ( [id://191104]=note: print w/replies, xml ) | Need Help?? |
Instead of using a multine regex, you could consider looping over the lines in turn and removing every six lines where there's a match on the fourth. I think the code is pretty self-explanatory (@lines contains your file):
— Arien
In Section
Seekers of Perl Wisdom
|
|