fixing bug in formula tokenizing (JT Hughes)
git-svn-id: https://svn.php.net/repository/pear/packages/Spreadsheet_Excel_Writer/trunk@125009 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
0463e06cea
commit
d78df22934
|
|
@ -1057,7 +1057,8 @@ class Spreadsheet_Excel_Writer_Parser extends PEAR
|
||||||
// if it's a reference
|
// if it's a reference
|
||||||
if (preg_match('/^\$?[A-I]?[A-Z]\$?[0-9]+$/',$token) and
|
if (preg_match('/^\$?[A-I]?[A-Z]\$?[0-9]+$/',$token) and
|
||||||
!ereg("[0-9]",$this->_lookahead) and
|
!ereg("[0-9]",$this->_lookahead) and
|
||||||
($this->_lookahead != ':') and ($this->_lookahead != '.'))
|
($this->_lookahead != ':') and ($this->_lookahead != '.') and
|
||||||
|
($this->_lookahead != '!'))
|
||||||
{
|
{
|
||||||
return $token;
|
return $token;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue