From: Carlos Camargo Date: 2011-07-23T05:33:07+09:00 Subject: Re: Regexp inconsistency Sorry, it was my mistake! I've changed regex putting ^ and $; now, it works like I expected. Thanks, Kendall and De Luca. Best regards, Carlos Camargo -- Posted via http://www.ruby-forum.com/.