leons has asked for the wisdom of the Perl Monks concerning the following question:
my ($value1,$value2)=("something","whatever"); my ($var1,$var2) = ($1,$2) if ($value1=~/something/ && $value2=~/(what +)(ever)/);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using multiple regex's
by chipmunk (Parson) on Jan 22, 2001 at 20:35 UTC | |
|
Re: Using multiple regex's
by Fastolfe (Vicar) on Jan 22, 2001 at 20:21 UTC | |
|
Re: Using multiple regex's
by jeroenes (Priest) on Jan 22, 2001 at 20:24 UTC |