On Thu, Feb 9, 2012 at 1:44 PM, Jeff Peng <[email protected]> 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: [email protected] > For additional commands, e-mail: [email protected] > http://learn.perl.org/ > > -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
