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

Re: The Unicode Bug still bites?

Thread Previous | Thread Next
Tom Christiansen
April 13, 2011 16:53
Re: The Unicode Bug still bites?
Message ID:
Eric Brine <> 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?


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About