summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/forum/Error:_bad_page_name.mdwn7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/forum/Error:_bad_page_name.mdwn b/doc/forum/Error:_bad_page_name.mdwn
index a16decedb..17979fd13 100644
--- a/doc/forum/Error:_bad_page_name.mdwn
+++ b/doc/forum/Error:_bad_page_name.mdwn
@@ -19,3 +19,10 @@ What am I doing wrong? The wiki is at
> * Check if something is breaking pruning of disallowed files:
> `perl -le 'use IkiWiki; %config=IkiWiki::defaultconfig(); print ! IkiWiki::file_pruned("index")'`
> --[[Joey]]
+
+>>Both seem to run fine:
+
+ onderka@atrey:~$ perl -le 'print int "index"=~/^([-[:alnum:]+\/.:_]+)$/'
+ 1
+ onderka@atrey:~$ perl -le 'use IkiWiki; %config=IkiWiki::defaultconfig(); print ! IkiWiki::file_pruned("index")'
+ 1