Hacker News new | ask | show | jobs
by eCa 3769 days ago
\A and \z always match beginning/end of the string.

^ and $ can be changed to mean beginning/end of each line in the string with the /m flag.