From: brabuhr@... Date: 2010-06-18T00:59:01+09:00 Subject: Re: nothing new in ruby_core for four days ? On Thu, Jun 17, 2010 at 10:17 AM, Brian Candler wrote: > Michel Demazure wrote: >> I switched sometime ago to 1.9 and my app now uses ordered hashes and >> enumerators. > > Certainly there are cool new features in 1.9, and apparently improved > speed. But these are outweighed for me by the total mess which is > encodings. > >> But >> 1.9.2 implies (or is it 1.9.x ?) - alas poor Yorick! -  changing >> Regexp's : \d, \s,\w and the like work no more with utf-8 encodings! > > Care to share an example, or point to a blog with more details? I have > an older 1.9.2 lying around, it doesn't seem to behave how you describe. http://svn.ruby-lang.org/repos/ruby/tags/v1_9_2_preview3/NEWS * \d, \s, and \w are now ASCII only; use POSIX bracket classes and \p{} for Unicode semantics http://redmine.ruby-lang.org/issues/show/3376 The rationale is that many people expects \d and \s to match ASCII only.