summaryrefslogtreecommitdiff
path: root/inc/parser/lexer.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/lexer.php')
-rw-r--r--inc/parser/lexer.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/inc/parser/lexer.php b/inc/parser/lexer.php
index d2aaf407b..afd260a05 100644
--- a/inc/parser/lexer.php
+++ b/inc/parser/lexer.php
@@ -156,11 +156,11 @@ class Doku_LexerParallelRegex {
for ($i = 0; $i < $cnt; $i++) {
/*
- * decompose the input pattern into "(", "(?", ")",
- * "[...]", "[]..]", "[^]..]", "[...[:...:]..]", "\x"...
+ * decompose the input pattern into "(", "(?", ")",
+ * "[...]", "[]..]", "[^]..]", "[...[:...:]..]", "\x"...
* elements.
- */
- preg_match_all('/\\\\.|' .
+ */
+ preg_match_all('/\\\\.|' .
'\(\?|' .
'[()]|' .
'\[\^?\]?(?:\\\\.|\[:[^]]*:\]|[^]\\\\])*\]|' .
@@ -171,7 +171,7 @@ class Doku_LexerParallelRegex {
foreach ($elts[0] as $elt) {
/*
- * for "(", ")" remember the nesting level, add "\"
+ * for "(", ")" remember the nesting level, add "\"
* only to the non-"(?" ones.
*/