646,10 → 646,10 |
|
// Split the range into 2 cell refs |
if(preg_match("/^([A-I]?[A-Z])(\d+)\:([A-I]?[A-Z])(\d+)$/",$range)) { |
list($cell1, $cell2) = split(':', $range); |
list($cell1, $cell2) = explode(':', $range); |
} |
elseif(preg_match("/^([A-I]?[A-Z])(\d+)\.\.([A-I]?[A-Z])(\d+)$/",$range)) { |
list($cell1, $cell2) = split('\.\.', $range); |
list($cell1, $cell2) = explode('\.\.', $range); |
|
} |
else { |
698,7 → 698,7 |
$class = 2; // as far as I know, this is magick. |
|
// Split the ref at the ! symbol |
list($ext_ref, $range) = split('!', $token); |
list($ext_ref, $range) = explode('!', $token); |
|
// Convert the external reference part |
$ext_ref = $this->_packExtRef($ext_ref); |
707,7 → 707,7 |
} |
|
// Split the range into 2 cell refs |
list($cell1, $cell2) = split(':', $range); |
list($cell1, $cell2) = explode(':', $range); |
|
// Convert the cell references |
if (preg_match("/^(\$)?[A-I]?[A-Z](\$)?(\d+)$/", $cell1)) |
796,7 → 796,7 |
$class = 2; // as far as I know, this is magick. |
|
// Split the ref at the ! symbol |
list($ext_ref, $cell) = split('!', $cell); |
list($ext_ref, $cell) = explode('!', $cell); |
|
// Convert the external reference part |
$ext_ref = $this->_packExtRef($ext_ref); |
840,7 → 840,7 |
// Check if there is a sheet range eg., Sheet1:Sheet2. |
if (preg_match("/:/", $ext_ref)) |
{ |
list($sheet_name1, $sheet_name2) = split(':', $ext_ref); |
list($sheet_name1, $sheet_name2) = explode(':', $ext_ref); |
|
$sheet1 = $this->_getSheetIndex($sheet_name1); |
if ($sheet1 == -1) { |
1430,7 → 1430,7 |
} |
else { |
return new PEAR_Error("Sintactic error: coma expected in ". |
"function $function, {$num_args}º arg"); |
"function $function, {$num_args}� arg"); |
} |
$result2 = $this->_condition(); |
if($this->isError($result2)) { |