diff --git a/setup/setup-cli.php b/setup/setup-cli.php index 7b710215bf..758886aadb 100755 --- a/setup/setup-cli.php +++ b/setup/setup-cli.php @@ -590,7 +590,7 @@ function list_exit_codes() //if (isset($codes[$code])) echo "$file redifines #$code: {$codes[$code]}\n"; $src = $matches[2][$key]; - $src = preg_replace('/self::\$[a-z_>-]/i',"''",$src); // gives fatal error otherwise + $src = preg_replace('/self::\$[a-z_>-]+/i',"''",$src); // gives fatal error otherwise @eval($src='$codes['.$code.'] = '.$src.';'); //echo "- codes[$code] => '{$codes[$code]}'\n"; }