print $_ unless ($_ =~ m@^\t\\$@);
If you want to stop printing when you get to a line like that you could use:
last if ($_ =~ m@^\t\\$@);
Edit Changed / to \\
-monkfish (The Fishy Monk)
In reply to Re: Regex question
by monkfish
in thread Regex question
by IPstacks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |