Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 cooling their heels in the Monastery: (5)
As of 2015-03-02 06:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (28 votes), past polls