develooper Front page | perl.perl5.porters | Postings from August 2016

[perl #84578] Bug report: error with \L, \l, \U and \u operators

Thread Previous
From:
Father Chrysostomos via RT
Date:
August 15, 2016 21:24
Subject:
[perl #84578] Bug report: error with \L, \l, \U and \u operators
Message ID:
rt-4.0.24-550-1471296263-1199.84578-15-0@perl.org
On Mon Aug 15 12:00:59 2016, public@khwilliamson.com wrote:
> but I don't know about  this:
> 
> blead -le 'print qr/\l\ABCD/'
> (?^:\ABCD)

lcfirst '\A' is equivalent to lc('\\') . 'A'.  No surprises there.

Most of the code that handle this is in the tokenizer.  I know that code fairly well, so I could fix it easily.  I just need to know *how* things *should* behave.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=84578

Thread Previous


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