alex452 has asked for the wisdom of the Perl Monks concerning the following question:
Any ideas?my $tempreg = $p->get_token()->raw; #yes i checked it my $tempreg2 = $Tracearray[$snr][1]; if ("$tempreg" =~ m/[192.168.242.2]/) { print "finally a match"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regexp problem, square parentheses ("brackets")
by liverpole (Monsignor) on Feb 18, 2007 at 18:06 UTC | |
|
Re: regexp problem, square paranthesis
by andyford (Curate) on Feb 18, 2007 at 18:12 UTC | |
by alex452 (Novice) on Feb 18, 2007 at 18:27 UTC | |
|
Re: regexp problem, square paranthesis
by johngg (Canon) on Feb 18, 2007 at 18:28 UTC |