Think about Loose Coupling | |
PerlMonks |
Re: Regex Start Anchor with variablesby jwkrahn (Abbot) |
on Oct 05, 2006 at 05:55 UTC ( [id://576473]=note: print w/replies, xml ) | Need Help?? |
You probably don't need a regular expression for this:
However, if you really want to use a regular expression then you need to escape the meta-characters in $str2:
In Section
Seekers of Perl Wisdom
|
|