diff options
Diffstat (limited to 'syncfiles.pl')
-rwxr-xr-x | syncfiles.pl | 2 |
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; } } |