diff options
author | andi <andi@splitbrain.org> | 2005-04-27 20:34:17 +0200 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-04-27 20:34:17 +0200 |
commit | c1ebbe02a573889905262080f24039d4ef9579bb (patch) | |
tree | ef9e927be5077f1b7fe1b86633542b8f0ca64c35 | |
parent | 6e38d921735908d9d6597c57e94e967e47770bf4 (diff) | |
download | rpg-c1ebbe02a573889905262080f24039d4ef9579bb.tar.gz rpg-c1ebbe02a573889905262080f24039d4ef9579bb.tar.bz2 |
fixed broken lexer (stupid me! never push before testing)
darcs-hash:20050427183417-9977f-85591c2569c99e11b98c47512274702ff7e5d533.gz
-rw-r--r-- | inc/parser/lexer.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/lexer.php b/inc/parser/lexer.php index fb42ac27e..828d57bdf 100644 --- a/inc/parser/lexer.php +++ b/inc/parser/lexer.php @@ -107,7 +107,7 @@ class Doku_LexerParallelRegex { */ function _getCompoundedRegex() { if ($this->_regex == null) { - $cnt = $this->_patterns; + $cnt = count($this->_patterns); for ($i = 0; $i < $cnt; $i++) { // Replace lookaheads / lookbehinds with marker |