Character Matches
\A Beginning of string
\b Word boundary
\B Not a word boundary
\Z End of string (matches before final newline or at end of string)
\z End of string (matches only at very end of string)