Bugfix: Workitem 14679 - Formula evaluation fails with Japanese sheet refs
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@63673 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
ad8b80bae9
commit
cb382e89f3
|
@ -68,7 +68,7 @@ class PHPExcel_Calculation {
|
||||||
// Cell reference (cell or range of cells, with or without a sheet reference)
|
// Cell reference (cell or range of cells, with or without a sheet reference)
|
||||||
const CALCULATION_REGEXP_CELLREF = '((((?:\P{M}\p{M}*)+?)|(\'[^\']*\')|(\"[^\"]*\"))!)?\$?([a-z]{1,3})\$?(\d+)';
|
const CALCULATION_REGEXP_CELLREF = '((((?:\P{M}\p{M}*)+?)|(\'[^\']*\')|(\"[^\"]*\"))!)?\$?([a-z]{1,3})\$?(\d+)';
|
||||||
// Named Range of cells
|
// Named Range of cells
|
||||||
const CALCULATION_REGEXP_NAMEDRANGE = '(((\w*)|(\'.*\')|(\".*\"))!)?([_A-Z][_A-Z0-9]*)';
|
const CALCULATION_REGEXP_NAMEDRANGE = '((((?:\P{M}\p{M}*)+?)|(\'[^\']*\')|(\"[^\"]*\"))!)?([_A-Z][_A-Z0-9]*)';
|
||||||
// Error
|
// Error
|
||||||
const CALCULATION_REGEXP_ERROR = '\#[A-Z][A-Z0_\/]*[!\?]?';
|
const CALCULATION_REGEXP_ERROR = '\#[A-Z][A-Z0_\/]*[!\?]?';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue