summaryrefslogtreecommitdiff
path: root/IkiWiki/Setup
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-08-03 22:01:11 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-08-03 22:16:38 -0400
commita4ce6550ebc21f07caadec2d4e7903e2821b812b (patch)
tree8036cca91ec629556240557cfd1ac955032e37fa /IkiWiki/Setup
parent0bdba1e81cdcceb5e05e2a510821da7e569939e1 (diff)
loosen qw regexp
Diffstat (limited to 'IkiWiki/Setup')
-rw-r--r--IkiWiki/Setup/Standard.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Setup/Standard.pm b/IkiWiki/Setup/Standard.pm
index e77b20ffd..8a11b2ec6 100644
--- a/IkiWiki/Setup/Standard.pm
+++ b/IkiWiki/Setup/Standard.pm
@@ -32,7 +32,7 @@ sub dumpline ($$$$) { #{{{
# avoid quotes
$dumpedvalue=$value;
}
- elsif (ref $value eq 'ARRAY' && @$value && ! grep { /[^-A-Za-z0-9_]/ } @$value) {
+ elsif (ref $value eq 'ARRAY' && @$value && ! grep { /[^\S]/ } @$value) {
# dump simple array as qw{}
$dumpedvalue="[qw{".join(" ", @$value)."}]";
}