On Thu, Feb 9, 2012 at 1:44 PM, Jeff Peng <p...@staff.dnsbed.com> wrote:
> 于 2012-2-9 12:44, lina 写道:
>
>> $string =~ m/(\S+)(and|or)(\S+)/;
>
>
> $string =~ m/(\S+)\s+(and|or)\s+(\S+)/;

Wow, thanks

how does that one not work as expected,

I am reading brian d foy "Mastering Perl",
http://www.amazon.com/Mastering-Perl-brian-d-foy/dp/0596527241

>
> HTH.
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to