|more useful options|
Using variables in regex searchby lancer (Beadle)
|on Aug 14, 2011 at 13:07 UTC||Need Help??|
lancer has asked for the
wisdom of the Perl Monks concerning the following question:
I'm trying to find a string in a text, and the string is coming from a variable.
What expression should I use?
Will this code work?
Will I need to escape the contents of "$str" ?