Module: Allow `/` and `-` in module/library dependency names

This commit is contained in:
Johannes Meyer 2021-05-31 16:28:05 +02:00
parent 229e24519a
commit 4e3811cc84
1 changed files with 1 additions and 1 deletions

View File

@ -967,7 +967,7 @@ class Module
$parts = preg_split('/,\s+/', $val);
foreach ($parts as $part) {
if (preg_match('/^(\w+)\s+\((.+)\)$/', $part, $m)) {
if (preg_match('/^([\w\-\/]+)\s+\((.+)\)$/', $part, $m)) {
$metadata->{$key}[$m[1]] = $m[2];
} else {
// TODO: FAIL?