$ perl -le' my $text = "START text I don\047t want START only text I want END"; print scalar reverse reverse( $text ) =~ /(DNE.*?TRATS)/; ' START only text I want END
In reply to Re: really non greedy match
by jwkrahn
in thread really non greedy match
by Allasso
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |