Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
But I wanted to know if there was a better way of constructing the regex Thanks Ragavendar$foo = $bar // $baz ; s/(.*\s*)(.*)\b\s*\/\/\s*(.*)\b/$1defined($2) ? $2 : $3/gm;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: regex for Err operator.
by dave_the_m (Monsignor) on Aug 23, 2005 at 18:29 UTC | |
by Anonymous Monk on Aug 23, 2005 at 18:49 UTC | |
|
Re: regex for Err operator.
by davidrw (Prior) on Aug 23, 2005 at 18:23 UTC | |
by Anonymous Monk on Aug 23, 2005 at 18:32 UTC |