B
Bart van den Burg
Hi
Say i have this code:
perl -we 'my $string = "abc help cba abc help cba"; $string =~
/abc(.*)cba/s; print "$1\n";';
this prints about: " help cba abc help ".
However, i wish for it to only match (the first) " help "...
What do i need to change in order for this to work?
Thanks
Bart
Say i have this code:
perl -we 'my $string = "abc help cba abc help cba"; $string =~
/abc(.*)cba/s; print "$1\n";';
this prints about: " help cba abc help ".
However, i wish for it to only match (the first) " help "...
What do i need to change in order for this to work?
Thanks
Bart