What are the differences between,
\A Match at only beginning of string
\Z Match at only end of string (or before newline at the end)
^ Match the beginning of the line
$ Match the end of the line (or before newline at the end)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
From the perl documentation (I can’t see them in the standard regex syntax):
You should be adding a perl tag if this is related just to Perl (or those languages or libraries using PCRE, Perl-Compatible Regular Expressions).