diff --git a/src/Commands/AliasCommand.php b/src/Commands/AliasCommand.php index 09eb63c..7c8b42f 100755 --- a/src/Commands/AliasCommand.php +++ b/src/Commands/AliasCommand.php @@ -229,7 +229,7 @@ private function prepareCommand($command) */ private function parseArguments(string &$command): array { - preg_match_all('~\{([^}]*)\}~', $command, $matches); + preg_match_all('~\{([^} ]*)\}~', $command, $matches); $parsedArguments = $matches[1]; foreach ($parsedArguments as $key => $arg) {