develooper Front page | perl.perl5.porters | Postings from December 2009

Re: PATCH: partial [perl #58182]: regex case-sensitive matching now utf8ness independent

Thread Previous | Thread Next
From:
demerphq
Date:
December 10, 2009 05:23
Subject:
Re: PATCH: partial [perl #58182]: regex case-sensitive matching now utf8ness independent
Message ID:
9b18b3110912100523u6574113bp8b5336420b461055@mail.gmail.com
2009/12/10 Zefram <zefram@fysh.org>:
> demerphq wrote:
>>And, [[:word:]] is spelled [[:alnum:]].
>
> No, they're different.  /\w/ and /[[:word:]]/ match "_", whereas
> /[[:alnum:]]/ does not.

Yes, mea-culpa. They are both called ALNUM internally, well [[:word:]]
is internally called ALNUM, and [[:alnum:]] is helpfully called
ALNUMC.

Sigh.

yves



-- 
perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About