Skip to content

Commit c14cc1f

Browse files
committed
Fix PPD:Parse command
1 parent 4b14fbc commit c14cc1f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/Commands/ParsePpdOptionsFromPpdFileCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ public function handle()
6969

7070

7171
if($cmd[1] == 'OpenGroup'){
72-
preg_match('/^\\*([a-zA-Z0-9-_]+): ([a-zA-Z0-9-_ ]+)\/([^\\n]+)/um', $value, $group);
72+
preg_match('/^\\*([a-zA-Z0-9-_]+): ([a-zA-Z0-9-_ ]+)\/?([^\\n]*?)/um', $value, $group);
73+
7374
$currentGroup = [$group[2], $group[3]];
7475
}
7576

0 commit comments

Comments
 (0)