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/.