Tighten page name regex to not allow carriage returns or line feeds

master
Josh Triplett 2008-02-09 22:53:28 -08:00
parent a35dd1d806
commit fb82474be0
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ sub defaultconfig () { #{{{
\| # followed by '|'
)? # optional
([^\]#]+) # 2: page to link to
([^\n\r\]#]+) # 2: page to link to
(?:
\# # '#', beginning of anchor
([^\s\]]+) # 3: anchor text