Skip to content

Commit

Permalink
More. Fixes #1035
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Jun 8, 2015
1 parent 36fa286 commit 4731244
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions share/format.pl
Expand Up @@ -91,7 +91,7 @@
#
# Remember if we did begin-vendor.
#
if (/^BEGIN-VENDOR\s+([\w-]+)/) {
if (/^BEGIN-VENDOR\s+([-\w]+)/) {
$begin_vendor = 1;
if (!defined $vendor) {
$vendor = $1;
Expand All @@ -106,7 +106,7 @@
#
# Get attribute.
#
if (/^ATTRIBUTE\s+([\w-]+)\s+([\w.]+)\s+(\w+)(.*)/) {
if (/^ATTRIBUTE\s+([-\w]+)\s+([\w.]+)\s+(\w+)(.*)/) {
$name=$1;
$len = length $name;
if ($len < 40) {
Expand Down Expand Up @@ -146,7 +146,7 @@
#
# Values.
#
if (/^VALUE\s+([\w-]+)\s+([\w-\/,.]+)\s+(\w+)(.*)/) {
if (/^VALUE\s+([-\w]+)\s+([-\w\/,.]+)\s+(\w+)(.*)/) {
$attr=$1;
$len = length $attr;
if ($len < 32) {
Expand Down

0 comments on commit 4731244

Please sign in to comment.