2005-08-03
Hi,
there is a bug in the multiplier replacement class.
the code is as follows:
$this->Lexer->addSpecialPattern(
'(?<=\\b)\\d+[x|X]\\d+(?=\\b)',$mode,'multiplyentity'
);
where it should be:
$this->Lexer->addSpecialPattern(
'(?<=\\b)\\d+[xX]\\d+(?=\\b)',$mode,'multiplyentity'
);
the pipe character is wrong, and it sometimes replaces numbers in tables accidently.
removing the pipe character helps!