From: "Andreas S." Date: 2013-03-27T04:32:14+09:00 Subject: Strange unicode regex behavior with Ruby 2.0 Hi, the following code behaves strangely in ruby 2.0, and different from 1.9: puts "ä".match(/[\p{Word}]/).inspect puts "ä".match(/[\p{Word}\s]/).inspect Result on 1.9.3-p194: # # Result on 2.0.0-p0: # nil Any ideas what's going on there? I have attached the ruby code as a file, in case there are any problems with email charset conversion. Thanks! Andreas Attachments: http://www.ruby-forum.com/attachment/8267/test_regex.rb.txt -- Posted via http://www.ruby-forum.com/.