|
|
| go ahead... be a heretic | |
| PerlMonks |
Re: Maybe Escape in Dynamic RegExpsby Zaxo (Archbishop) |
| on Apr 30, 2004 at 08:27 UTC ( #349360=note: print w/ replies, xml ) | Need Help?? |
|
This does what you want.
my $re = qr/(?<!\Q$c\E)\Q$d\E/; After Compline,
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||