On Saturday 24 May 2008, Alan McKinnon wrote:
> On Saturday 24 May 2008, Robin Atwood wrote:
> > But why does "[[:space:]]+" work and "\s+" fail?
>
> Apparently because \s is not a synonym for [[:space:]]
>

Here for a start:
http://www.regular-expressions.info/charclass.html#shorthand

and also
http://doc.trolltech.com/3.3/qregexp.html#characters-and-abbreviations-for-sets-of-characters

Is it a Perl thing? Probably!
http://www.troubleshooters.com/codecorn/littperl/perlreg.htm#DoingStringComparisons

-Robin
-- 











-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to