summaryrefslogtreecommitdiff
path: root/inc/parser/parser.php
diff options
context:
space:
mode:
authorChris Smith <chris.eureka@jalakai.co.uk>2009-02-15 12:19:54 +0100
committerChris Smith <chris.eureka@jalakai.co.uk>2009-02-15 12:19:54 +0100
commit68df1afc7421053a4c32c82db32e66cd2e19802f (patch)
tree36898eefbe5485e81d89efddea64b905799c6107 /inc/parser/parser.php
parente3fabc7542a35281e154d0245466db5f78e50dde (diff)
downloadrpg-68df1afc7421053a4c32c82db32e66cd2e19802f.tar.gz
rpg-68df1afc7421053a4c32c82db32e66cd2e19802f.tar.bz2
FS#1609, adjust multiplyentity pattern to not match strings that start "0x"
darcs-hash:20090215111954-f07c6-c8b64b4175a742c26d85f871bc27bed900521cb6.gz
Diffstat (limited to 'inc/parser/parser.php')
-rw-r--r--inc/parser/parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/parser/parser.php b/inc/parser/parser.php
index 3d62345a6..db49ff0c3 100644
--- a/inc/parser/parser.php
+++ b/inc/parser/parser.php
@@ -743,7 +743,7 @@ class Doku_Parser_Mode_multiplyentity extends Doku_Parser_Mode {
function connectTo($mode) {
$this->Lexer->addSpecialPattern(
- '(?<=\b)\d+[xX]\d+(?=\b)',$mode,'multiplyentity'
+ '(?<=\b)(?:[1-9]|\d{2,})[xX]\d+(?=\b)',$mode,'multiplyentity'
);
}