Use \z instead of \Z to match the end of a string

Great style guide - just have a small tweak for regular expressions

http://guides.rubyonrails.org/security.html#regular-expressions
http://stackoverflow.com/questions/2707870/whats-the-difference-between-z-and-z-in-a-regular-expression-and-when-and-how