Changeset 21439 for perl5

Show
Ignore:
Timestamp:
07/22/08 17:27:44 (4 months ago)
Author:
fglock
Message:

[PCR] some unicode fixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • perl5/Pugs-Compiler-Rule/lib/Pugs/Emitter/Rule/Perl5/CharClass.pm

    r21438 r21439  
    1313        word  xdigit 
    1414    ); 
    15     # XXX this list is broken!!! 
    1615    %extra_unicode = ( 
    1716        'isLr'       => '(?:\p{isLl}|\p{isLu}|\p{isLt})', 
     17        'isInLatin1Supplement'      => '[\x{0080}–\x{00FF}]', 
     18        'isInCyrillicSupplementary' => '[\x{0500}–\x{052F}]', 
     19        'isID_Start' => '\p{ID_Start}', 
     20    # XXX the remaining list is broken!!! 
    1821        'isBidiL'    => '(?:\p{isLatin})', 
    1922        'isBidiR'    => '(?:\p{isHebrew}|\p{isArabic})', 
     
    2225        'isBidiET'   => '(?:\p{isHebrew}|\p{isArabic})', 
    2326        'isBidiWS'   => '(?:\p{isHebrew}|\p{isArabic})', 
    24         'isID_Start' => '(?:\p{isHebrew}|\p{isArabic})', 
    25         'isInCyrillicSupplementary' => '(?:\p{isHebrew}|\p{isArabic})', 
    26         'isInLatin1Supplement' => '(?:\p{isLatin})', 
    2727    ); 
    2828}