|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: More Regexp Confusionby johngg (Canon) |
| on Feb 01, 2007 at 18:54 UTC ( [id://597858]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
This seems to do what I think you want using your data.
It produced this output.
I hope this is useful. Cheers, JohnGG Update: Fixed typos Update 2: Changed initialisation of $notNeedle so string was not hard coded, original line was my $notNeedle = q{[^GOAT]*};
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||