develooper Front page | perl.perl5.porters | Postings from April 2011

Re: The Unicode Bug still bites?

Thread Previous | Thread Next
From:
Tom Christiansen
Date:
April 13, 2011 16:53
Subject:
Re: The Unicode Bug still bites?
Message ID:
3020.1302738770@chthon
Eric Brine <ikegami@adaelis.com> wrote
   on Wed, 13 Apr 2011 19:49:39 EDT: 

>> What I think should happen for 5.16 is [for quotemeta] to just not quote
>> anything above 127, under any conditions.
>>

> Without a backwards incompatible change, that restricts regex meta chars to
> ASCII. Short term, doesn't matter. Long term, who knows.

What's wrong with quotemeta() someday changing to quote say, \p{Pattern_Syntax}
character if and when Perl makes use of them?  The idea is that if Perl
changes, that quotemeta() has to change to keep up with it.  What's
so wrong with that?

--tom

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