I had one issue with your method, it printed the Twist flags. So I tried it this way:
Which stripped out the flags too. However, I would bet there is a better way to do it that I am not able to think of at the moment.perl -n -we "print if /Twist 1/ .. /Twist 2/ and not /Twist \d/" test. +txt
In reply to RE: Re: Pattern Matching Problem
by Adam
in thread Pattern Matching Problem
by MrDoney
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |