2009/10/30 David Cantrell <david@cantrell.org.uk>: > On Thu, Oct 29, 2009 at 04:39:39PM +0000, Paul LeoNerd Evans wrote: >> Paul LeoNerd Evans <leonerd@leonerd.org.uk> wrote: >> > I would suggest >> > ASCII-only \w \d \s >> > Includes Unicode \Uw \Ud \Us >> > Only \U is already used. And \u. >> Actually then, on that note could we consider some more modifiers? >> ASCII: m/\w/a m/\d/a m/\s/a >> Unicode: m/\w/u m/\d/u m/\s/u >> and if neither is specified keep to the existing behaviour.. > > What if you want \w to match Funny Forn Characters like a-acute and > alpha and alif, but only want \d to match 0-9? This is the chief reason i would prefer that \d matches 0-9 only, in all /modifiers. But i am resigned to not getting my way on this. :-) Yves -- perl -Mre=debug -e "/just|another|perl|hacker/"Thread Previous | Thread Next