Your solution is good and it may even be efficient thanks to anchoring, but stylistically, I guess I just don't like
$ or
\z anywhere but the end of the regex. That's just a matter of taste, as your other comments also illustrate.
--
[ e d @ h a l l e y . c c ]