Hello all,
I'm not a Ruby programmer, but as I was reading through the extensive RoR security guide I noticed this section:
http://guides.rubyonrails.org/security.html#regular-expressions
A common pitfall in Ruby’s regular expressions is to match the string’s beginning and end by ^ and $, instead of \A and \z.
Does anyone know if this is this just a matter of aesthetics or something else? I ask because I've only used languages that use the ^ and $.
Anyway...thanks in advance.