mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-22 13:26:07 +03:00
Further fix to regexp for preventing update of absolute rows when adjusting row references
This commit is contained in:
parent
94a1a69373
commit
2bd1c10b21
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user