Here's my problem:

$one = 'this (is a) 1/2 measure example';

Try and run that through a regex like

if ( $two =~ /$one/ ) {
and it's pretty ugly.

Who do I get the literal string for $one?

In this case I think it would be something like:

$two =~ /this \(is a\) 1\/2 measure example/

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to