Within a regex, the special character ^ means “match at the start of the line”
Except when it means "match the beginning of the string" which is what yours means
Perl::Critic::Policy::RegularExpressions::RequireLineBoundaryMatching - Always use the /m modifier with regular expressions.
In reply to Re^4: reg expression question
by Anonymous Monk
in thread reg expression question
by healingtao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |