Further fix to regexp for preventing update of absolute rows when adjusting row references

This commit is contained in:
Mark Baker 2013-11-07 23:24:04 +00:00
parent 94a1a69373
commit 2bd1c10b21

View File

@ -677,7 +677,7 @@ class PHPExcel_ReferenceHelper
$cellIndex = $column.$row;
$newCellTokens[$cellIndex] = preg_quote($toString);
$cellTokens[$cellIndex] = '/(?<!\d)'.preg_quote($fromString).'(?!\d)/i';
$cellTokens[$cellIndex] = '/(?<!\d\$\!)'.preg_quote($fromString).'(?!\d)/i';
++$adjustCount;
}
}