Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

[perl #75098] PATCH: allow user-defined multi-char case mappings for ordinals < 256

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


perlbug-followup at perl

May 14, 2010, 8:05 AM

Post #1 of 4 (117 views)
Permalink
[perl #75098] PATCH: allow user-defined multi-char case mappings for ordinals < 256

# New Ticket Created by karl williamson
# Please include the string: [perl #75098]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75098 >


This transaction appears to have no content
Attachments: 0001-PATCH-user-defined-special-casing-for-non-utf8.patch (1.74 KB)


rgs at consttype

May 26, 2010, 7:24 AM

Post #2 of 4 (93 views)
Permalink
Re: [perl #75098] PATCH: allow user-defined multi-char case mappings for ordinals < 256 [In reply to]

Do you know why 0xDF and >0xFF were excluded before ? For speed maybe ?
Anyway, thanks, applied as a6f87d8c282ba94b0308898be052d1ac956d0ea9


public at khwilliamson

May 26, 2010, 8:50 AM

Post #3 of 4 (92 views)
Permalink
Re: [perl #75098] PATCH: allow user-defined multi-char case mappings for ordinals < 256 [In reply to]

Rafael Garcia-Suarez wrote:
> Do you know why 0xDF and >0xFF were excluded before ? For speed maybe ?
> Anyway, thanks, applied as a6f87d8c282ba94b0308898be052d1ac956d0ea9
>

Actually, it was <=FF that was excluded except for DF. It could have
been for speed; or that when user defined case mappings were added, this
spot was overlooked.


demerphq at gmail

May 26, 2010, 3:40 PM

Post #4 of 4 (94 views)
Permalink
Re: [perl #75098] PATCH: allow user-defined multi-char case mappings for ordinals < 256 [In reply to]

On 26 May 2010 16:24, Rafael Garcia-Suarez <rgs [at] consttype> wrote:
> Do you know why 0xDF and >0xFF were excluded before ? For speed maybe ?
> Anyway, thanks, applied as a6f87d8c282ba94b0308898be052d1ac956d0ea9

The comment in the patch context explains.

\xDF is the only code point < 256 that folds to a multi-codepoint sequence.

There are many such codepoints>255.

cheers,
Yves



--
perl -Mre=debug -e "/just|another|perl|hacker/"

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.