]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/pagespec_parsing_chokes_on_function__40____41__.mdwn
response
[ikiwiki.git] / doc / bugs / pagespec_parsing_chokes_on_function__40____41__.mdwn
index b7379e7b424568c420fc399a2aea9ef9887f9469..a2eba694cfe9682cc975e3247d1cb0e36c262047 100644 (file)
@@ -55,4 +55,10 @@ case the user is given to rebuilding the wiki by hand. --Ethan
        return IkiWiki::FailReason->new("syntax error") if $@;
        return $ret;
  } #}}}
-</pre>
\ No newline at end of file
+</pre>
+
+> Thanks, [[done]] --[[Joey]]
+>
+> Note that the printing of the error isn't needed though. pagespec_match()
+> returns an IkiWiki::FailReason object if parsing fails, and its caller
+> can use that as desired to print the error.