diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2012-11-09 11:39:23 +0100 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-02-15 17:24:33 -0400 |
commit | 186a76ec208bdf55082ead7fe83a7eb16caeba32 (patch) | |
tree | 53a3bcd7182d04d37ccb0d520e02649db3dd8f8f /IkiWiki.pm | |
parent | 432499c2baec1478bf53ce55b954f56ead857af1 (diff) | |
download | ikiwiki-186a76ec208bdf55082ead7fe83a7eb16caeba32.tar ikiwiki-186a76ec208bdf55082ead7fe83a7eb16caeba32.tar.gz |
Allow dots in parameter key names
This allows e.g. the meta command to be used to introduce DublinCore
metadata.
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index 52da3c112..0570c8bc5 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1433,7 +1433,7 @@ sub preprocess ($$$;$$) { # consider it significant. my @params; while ($params =~ m{ - (?:([-\w]+)=)? # 1: named parameter key? + (?:([-.\w]+)=)? # 1: named parameter key? (?: """(.*?)""" # 2: triple-quoted value | @@ -1530,7 +1530,7 @@ sub preprocess ($$$;$$) { ( # 4: the parameters.. \s+ # Must have space if parameters present (?: - (?:[-\w]+=)? # named parameter key? + (?:[-.\w]+=)? # named parameter key? (?: """.*?""" # triple-quoted value | @@ -1558,7 +1558,7 @@ sub preprocess ($$$;$$) { \s+ ( # 4: the parameters.. (?: - (?:[-\w]+=)? # named parameter key? + (?:[-.\w]+=)? # named parameter key? (?: """.*?""" # triple-quoted value | |