From: Daniel DeLorme Date: 2007-05-25T20:52:28+09:00 Subject: Re: I think this is a regexp bug Xavier Noria wrote: > I can't reproduce it: > > fxn@feynman:~/tmp$ cat foo.rb > $KCODE = 'u' > puts "à" =~ /à/i > puts "à" =~ /[à]/i > puts "ā" =~ /ā/i > puts "ā" =~ /[ā]/i > fxn@feynman:~/tmp$ ruby foo.rb > 0 > 0 > 0 > 0 > fxn@feynman:~/tmp$ ruby -v > ruby 1.8.5 (2006-12-25 patchlevel 12) [i686-darwin8.8.1] Ah, silly me I forgot to test on different versions. It happens on 1.8.4 but neither on 1.8.5 or 1.8.6 Thanks for the sanity check. Daniel