DEV Community

[Comment from a deleted post]
Collapse
 
epigene profile image
Augusts Bautra • Edited

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.