Comment Comment by brobinson Note that Ruby also has \z which is what you generally want instead of \Z.(\Z allows a trailing newline, \z does not) parent brobinson 2 years ago
(\Z allows a trailing newline, \z does not)