[dokuwiki] New PR: Corrected internal link pattern to properly handle included square brackets.

  • From: "LarsGit223" <wiki@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 24 May 2017 20:19:47 +0200 (CEST)

Hi,

LarsGit223 opened a new pull request at 
https://github.com/splitbrain/dokuwiki/pull/1987:

Fixes #829.

From #1609 I took the sugested pattern:
```
\[\[.+?\]\](?!\])
```
But this failed the test ```testInternalLinkNoChar()```. So I corrected it to:
```
\[\[.*?\]\](?!\])
```
I also added test code.

Please help us to review this pull request, so new contributors get feedback in 
a timely manner.

90be4d00-40ad-11e7-9b2e-f1a41e0d8db5


-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts:

  • » [dokuwiki] New PR: Corrected internal link pattern to properly handle included square brackets. - LarsGit223