Y
Hacker News
new
|
ask
|
show
|
jobs
by
voltagex_
3769 days ago
What's the difference? ^ and $ is basically all I remember from when I read
Mastering Regular Expressions
1 comments
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.
link
^ and $ can be changed to mean beginning/end of each line in the string with the /m flag.