]> sipb.mit.edu Git - ikiwiki.git/commitdiff
(no commit message)
authorhttp://yag.myopenid.com/ <http://yag.myopenid.com/@web>
Thu, 9 Oct 2008 22:50:04 +0000 (18:50 -0400)
committerJoey Hess <joey@kitenet.net>
Thu, 9 Oct 2008 22:50:04 +0000 (18:50 -0400)
doc/plugins/orphans/discussion.mdwn

index 2b2532bfe44f0dccb16abc8701d9d0bec9b82d38..7956f52d8559310ffc2b75bdc76aa043ace5b432 100644 (file)
@@ -9,3 +9,12 @@ In my wiki, the page "realname" shows up as an orphan although it's being linked
 > reason to use other link mechanisms provided by eg, markdown for internal
 > links in the wiki (indeed, using them is likely to cause broken links
 > when doing things like inlining or renaming pages). --[[Joey]]
 > reason to use other link mechanisms provided by eg, markdown for internal
 > links in the wiki (indeed, using them is likely to cause broken links
 > when doing things like inlining or renaming pages). --[[Joey]]
+
+
+The orphans plugin fails with an error when it has to deal with a page that contains '+' characters as part of the filename. Apparently the code uses regular expressions and forgets to quote that string at some cruicial point. The error message I see is:
+
+     \[[!orphans Error: Nested quantifiers in regex; 
+     marked by <-- HERE in m/^(c++ <-- HERE |)$/ at
+     /usr/lib/perl5/vendor_perl/5.8.8/IkiWiki/Plugin/orphans.pm line 43.]]
+
+--Peter