X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/f92505d78b82c6ac146e43054ebd12441575a602..10351be39ab58a72e92b8dfd7b33ca3491a39bf6:/IkiWiki.pm diff --git a/IkiWiki.pm b/IkiWiki.pm index ca75d885b..1091ca872 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -44,7 +44,7 @@ sub defaultconfig () { #{{{ \| # followed by '|' )? # optional - ([^\s\]#]+) # 2: page to link to + ([^\n\r\]#]+) # 2: page to link to (?: \# # '#', beginning of anchor ([^\s\]]+) # 3: anchor text