#!/usr/bin/perl use strict; my $cur = "\$foo"; my $after = "This is a \$foo test"; print "Match: '$after' contains '$cur'\n" if ($after =~ /\Q$cur\E/);
In reply to Re: Regex Error
by Nkuvu
in thread Regex Error
by rjahrman
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |