in reply to Re: Normal regexes stop working
in thread Normal regexes stop working

Thx--I haven't figured out the error yet, but I did make some progress.

I found that if $q was set to $VAR1 = "\n\302\240"; the time before then it doesn't work thereafter.

Replies are listed 'Best First'.
Re^3: Normal regexes stop working
by perl-diddler (Chaplain) on Oct 24, 2010 at 23:41 UTC
    At some point you are saying your regex fails when you do:
    $x =~ /$y/;
    yes? That being the case, then do this for debugging:
    my $match = $x =~ /$y/; printf "x=%s, y=%s\n", $x, $y unless $match;
    So this will print out something every time they don't match, which is the case you are looking for, right?