diff --git a/IkiWiki.pm b/IkiWiki.pm index 2637f6017..97d84c9de 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -1870,7 +1870,7 @@ sub pagespec_translate ($) { [^\s()]+ # any other text ) \s* # ignore whitespace - }igx) { + }gx) { my $word=$1; if (lc $word eq 'and') { $code.=' &&';