From: Benoit Daloze Date: 2010-02-28T03:18:38+09:00 Subject: [ruby-core:28361] [Bug #2822] Russian characters are missing from word characters types in Regexp Issue #2822 has been updated by Benoit Daloze. $ ri Regexp /\w/ - A word character ([a-zA-Z0-9_]) /[[:word:]]/ - A character in one of the following Unicode general categories Letter, Mark, Number, Connector_Punctuation /\p{Word}/ - A member of one of the following Unicode general category Letter, Mark, Number, Connector_Punctuation > "a��r".match /\w+/ => # > "a��r".match /[[:word:]]+/ => # > "a��r".match /\p{Word}+/ => # The documentation of Regexp is awesome in Ruby 1.9, have a look ;) ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2822 ---------------------------------------- http://redmine.ruby-lang.org