From: "Marcus Rückert" Date: 2010-08-26T22:41:58+09:00 Subject: [ruby-core:31854] [Bug #3747] Possible bug of String#count? Issue #3747 has been updated by Marcus R��ckert. didnt you want to say: $ puts s.count("a") 1 if you do: $ s = "^a\u3042" $ puts s.count("^a") 1 ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3747 ---------------------------------------- http://redmine.ruby-lang.org