Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Ranges in case insensitive regexps in unicode mode

by broquaint (Abbot)
on Jun 06, 2003 at 14:08 UTC ( #263676=note: print w/ replies, xml ) Need Help??


in reply to Ranges in case insensitive regexps in unicode mode

'tis a bug in 5.6.1 and its less than sturdy unicode support which has been corrected in 5.8

shell> perl5.8.0 -Mutf8 -le 'print "b" =~ /[A-C]/i ? "true" : "false"' true shell> perl5.6.1 -Mutf8 -le 'print "b" =~ /[A-C]/i ? "true" : "false"' false

HTH

_________
broquaint


Comment on Re: Ranges in case insensitive regexps in unicode mode
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://263676]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2014-07-13 02:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (245 votes), past polls