Front page | perl.perl5.porters |
Postings from November 2011
Re: RFC: fc keyword API
Thread Previous
|
Thread Next
From:
Nicholas Clark
Date:
November 28, 2011 03:39
Subject:
Re: RFC: fc keyword API
Message ID:
20111128113914.GA12928@plum.flirble.org
On Sat, Nov 26, 2011 at 09:54:23PM -0700, Karl Williamson wrote:
> I also need to repeat what I said in an earlier post. \F is essentially
> useless unless we change qr/\F\x{HEX}/ to not mean qr/\\x{hex}/
The trick being to keep qr/\x{5C}x{HEX}/ as meaning qr/\x{5C}x{HEX}/
Preferably efficiently :-)
(ie C<< \x{5C} >> doesn't become converted at interpolation stage to C<< \ >>
and then the whole string passed to the regex compiler as C<< \x{HEX} >>
which then can't distinguish it from the programmer writing qr/\x{HEX}/ and
hence compiles it as a hex escape)
This needs quite a few distinct, discrete processing layers, doesn't it?
Nicholas Clark
Thread Previous
|
Thread Next