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

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

Thread Previous | Thread Next
From:
karl williamson
Date:
December 9, 2009 19:56
Subject:
Re: PATCH: partial [perl #58182]: regex case-sensitive matching nowutf8ness independent
Message ID:
4B20713A.3000500@khwilliamson.com
Juerd Waalboer wrote:
> [snip]
> 
> These "posix" constructs have for a long time been documented as
> *equivalent* to \d, \s and \w, with two remarks: [[:space:]] also
> includes \cK and [[:word:]] doesn't even exist in POSIX.
> 
> Changing them is as bad as changing the metacharacters. Changing them to
> break the equivalency might even be worse.
> 
> Also, note that perlre calls this "POSIX character class **syntax**"
> (emphasis mine).
> 
> An even stronger argument is that perlre defines equivalence with
> \p{...}, and explicitly mentions that these are Unicode constructs.

Just so everything is exposed, an argument the other way is that Punct 
is very different between Posix and Unicode, in the ASCII range.

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