summaryrefslogtreecommitdiff
path: root/syncfiles.pl
diff options
context:
space:
mode:
Diffstat (limited to 'syncfiles.pl')
-rwxr-xr-xsyncfiles.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/syncfiles.pl b/syncfiles.pl
index bd40ff2..57bae5a 100755
--- a/syncfiles.pl
+++ b/syncfiles.pl
@@ -39,7 +39,7 @@ foreach $file (@ARGV) {
# First, read the syntax hints
%hints = %def_hints;
while (defined($line = <FILE>)) {
- if ($line =~ /^\#\s+\@(\S+)\:\s*\"([^\"]*)\"/) {
+ if ( $line =~ /^\s*\#\s*@([a-z0-9-]+):\s*\"([^\"]*)\"/ ) {
$hints{$1} = $2;
}
}