diff options
Diffstat (limited to 'doc/scripts/create-mime.conf.pl')
-rwxr-xr-x | doc/scripts/create-mime.conf.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/scripts/create-mime.conf.pl b/doc/scripts/create-mime.conf.pl index 969292c7..29812838 100755 --- a/doc/scripts/create-mime.conf.pl +++ b/doc/scripts/create-mime.conf.pl @@ -130,7 +130,7 @@ while (<MIMETYPES>) { chomp; s/\#.*//; next if /^\w*$/; - if (/^([a-z0-9\/+-.]+)\s+((?:[a-z0-9.+-]+[ ]?)+)$/i) { + if (/^([a-z0-9\/+.-]+)\s+((?:[a-z0-9+.-]+[ ]?)+)$/i) { my $mimetype = $1; my @extensions = split / /, $2; |