Commit aa7d0420 authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

Fixed for correct subpackages

parent f4c4b364
......@@ -75,7 +75,7 @@ sub process {
if ( $file_data =~ m{ \@subpackage (.*?) $ }xms ) {
my $subpackage_data = $1;
unless (
$subpackage_data =~ m{ \s* ( core | form | auth | lang | tests | admin | ( artefact | notification )(?:/.+)? ) \s* }xms
$subpackage_data =~ m{ \A \s* ( core | auth | lang | tests | admin | ( form | artefact | notification )(?:-.+)? ) \s* \z }xms
) {
print $directory, $filename, " invalid \@subpackage '$subpackage_data'\n";
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment