Skip to content

Commit 230379c

Browse files
committed
[core:root] fix root->NotePattern regex
1 parent a295038 commit 230379c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • xoops_trust_path/modules/xpwiki/class/include

xoops_trust_path/modules/xpwiki/class/include/init.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
$root->InterWikiName = '(\[\[)?((?:(?!\s|:|\]\]).)+):(.+)(?(1)\]\])';
2828

2929
// 注釈
30-
$root->NotePattern = '/\(\(((?:(?>(?:(?!\(\()(?!\)\)(?:[^\)]|$)).)+)|(?R))*)\)\)/ex';
30+
$root->NotePattern = '/\(\(((?:(?>(?:(?!\(\()(?!\)\)(?:[^\)]|$)).)+)|(?R))*)\)\)/';
3131

3232
/////////////////////////////////////////////////
3333
// Time settings

0 commit comments

Comments
 (0)