From: Mark Towfiq Date: 2011-02-09T11:32:57+09:00 Subject: [ruby-core:35160] [Ruby 1.9-Bug#4044] Regex matching errors when using \W character class and /i option Issue #4044 has been updated by Mark Towfiq. Yui NARUSE wrote: > I think, current behavior is reasonable. Perhaps there is a misunderstanding? The current behavior means that \W does not mean [^A-Za-z0-9_] in Ruby 1.9 in some cases. This is a basic functionality - if people cannot trust the Regexp class abbreviations this will be very difficult. This works correctly in Ruby 1.8.7 BTW. I believe this is a critical bug which must be fixed urgently. Mark Towfiq CTO, FanSnap ---------------------------------------- http://redmine.ruby-lang.org/issues/show/4044 ---------------------------------------- http://redmine.ruby-lang.org