From: Brian Ford Date: 2010-04-29T03:49:29+09:00 Subject: [ruby-core:29864] [Bug #3217] Regexp fails to match string with '<' when encoding is UTF-8 Bug #3217: Regexp fails to match string with '<' when encoding is UTF-8 http://redmine.ruby-lang.org/issues/show/3217 Author: Brian Ford Status: Open, Priority: Normal Target version: 1.9.2 ruby -v: ruby 1.9.2dev (2010-04-28 trunk 27536) [i386-darwin9.8.0] Hi, There is an issue matching a string like "a *b* c *d*<" when the encoding of the file is set to UTF-8 and the regexp is attempting to match '*something*'. Afaik, *< is not special in the encoding. This gist illustrates the issue: http://gist.github.com/382510 Thanks, Brian ---------------------------------------- http://redmine.ruby-lang.org