I have the following lines: g00:~> perl -e ' $a = "aa** a"; $b = $a; $b =~ qw/$b/; print "Yes\n" if $a =~ /^$b/; print $b' Nested quantifiers in regex; marked by <-- HERE in m/^aa** <-- HERE a/ at -e line 5.
Is there a way to make the regexp takes '$b' as string, because I see the non characters are problem. Thanks ------------------------------------- This mail is from: <[EMAIL PROTECTED]> ------------------------------------- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>