The ^ and $ around the regex mean that it only matches a whole string. If you want to search for matches inside a string, leave out those anchors.
See perlretut for more details.
In reply to Re: pcre regex
by moritz
in thread pcre regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |