"be consistent" | |
PerlMonks |
Re: Re: strip out lines until matchby Enlil (Parson) |
on Apr 15, 2004 at 23:51 UTC ( [id://345588]=note: print w/replies, xml ) | Need Help?? |
I am guessing you meant instead of (i.e., s/!=/!~/). Also as a nitpick, \s is an abbreviation to the character class [\ \t\r\n\f] (reference: perlreftut)so the \n and the \r are never matched as the * is greedy (i.e. they are unnecessary). -enlil
In Section
Seekers of Perl Wisdom
|
|