From d027a3d0a7d898bf903e8c89a3c2b5257d35fc2a Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Fri, 24 Dec 2010 12:08:31 +0000 Subject: [PATCH] Bugfix: Calc engine needs to use Ungreedy regexp in parser git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65727 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/Calculation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/PHPExcel/Calculation.php b/Classes/PHPExcel/Calculation.php index 1ec49c4..b3931dc 100644 --- a/Classes/PHPExcel/Calculation.php +++ b/Classes/PHPExcel/Calculation.php @@ -2613,7 +2613,7 @@ class PHPExcel_Calculation { '|'.self::CALCULATION_REGEXP_CELLREF. '|'.self::CALCULATION_REGEXP_NAMEDRANGE. '|'.self::CALCULATION_REGEXP_ERROR. - ')/siU'; + ')/si'; // Start with initialisation $index = 0;