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;
In reply to regex for Err operator. by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |