On Wed 14 Feb 2007 at 09:08:17 +0900, David Balmain wrote: > On 2/14/07, Ian Macdonald <ian / caliban.org> wrote: > > > >I should have asked by now, but can anyone else reproduce this with > >Ruby 1.8.5? > > I can reproduce this 1.8.4 Just to be clear, you are confirming that the following code: foo = "prñÇñÓñÆs" p foo =~ /[^[:alnum:]]/ prints nil in irb and 2 in a stand-alone script when in both cases your locale is preset to nl_NL? Ian -- Ian Macdonald | On a clear disk you can seek forever. ian / caliban.org | http://www.caliban.org/ | | |