From: Jesse Hk Date: 2007-06-29T06:34:36+09:00 Subject: Re: Help with regular expression Am I missing something here? Why not just test for equality? irb(main):001:0> "foo" == "foo" => true irb(main):002:0> "foo" == "bar" => false -- Posted via http://www.ruby-forum.com/.