summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public_html/inc/parser/lexer.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/public_html/inc/parser/lexer.php b/public_html/inc/parser/lexer.php
index b46a5f50..c8981d48 100644
--- a/public_html/inc/parser/lexer.php
+++ b/public_html/inc/parser/lexer.php
@@ -160,6 +160,8 @@ class Doku_LexerParallelRegex {
160 $cnt = count($this->_patterns); 160 $cnt = count($this->_patterns);
161 for ($i = 0; $i < $cnt; $i++) { 161 for ($i = 0; $i < $cnt; $i++) {
162 162
163 if ($this->_patterns[$i] == '\\\\\\\\\\w+?(?:\\\\[\\w-$]+)+')
164 $this->_patterns[$i] = '\\\\\\\\\\w+?(?:\\\\[\\$-w]+)+';
163 /* 165 /*
164 * decompose the input pattern into "(", "(?", ")", 166 * decompose the input pattern into "(", "(?", ")",
165 * "[...]", "[]..]", "[^]..]", "[...[:...:]..]", "\x"... 167 * "[...]", "[]..]", "[^]..]", "[...[:...:]..]", "\x"...