Our team at Mogo prefers to always use the %r syntax for regular expressions since we do web development and having to escape forward slashes is a pain and makes the regex unreadable.
Furthermore, we use single quotes as delimiters, since those also rarely, if ever, appear in web-dev-related strings. %r'\AHappy New Year\z', y'all.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Our team at Mogo prefers to always use the
%r
syntax for regular expressions since we do web development and having to escape forward slashes is a pain and makes the regex unreadable.Furthermore, we use single quotes as delimiters, since those also rarely, if ever, appear in web-dev-related strings.
%r'\AHappy New Year\z'
, y'all.