From: Justin Coyne Date: 2010-01-14T02:33:28+09:00 Subject: Re: Bug with end of string characters in regex? Looks like I've solved my own problem the \Z in ruby doesn't have the same semantics as it does in other languages. There is a \z which is what I wanted so as expected: /\A\n\z/m.match("\n\n") => nil -Justin -- Posted via http://www.ruby-forum.com/.