#173494 by scor: removing a strange string concatenation from common.inc
parent
ad6b5dbef0
commit
382664105b
|
@ -1984,7 +1984,7 @@ function _packer_apply($script, $regexps, $escape = FALSE) {
|
||||||
if ($escape) {
|
if ($escape) {
|
||||||
// Remove escaped characters
|
// Remove escaped characters
|
||||||
$script = preg_replace_callback(
|
$script = preg_replace_callback(
|
||||||
'/\\\\(.)' .'/',
|
'/\\\\(.)/',
|
||||||
'_packer_escape_char',
|
'_packer_escape_char',
|
||||||
$script
|
$script
|
||||||
);
|
);
|
||||||
|
@ -2002,7 +2002,7 @@ function _packer_apply($script, $regexps, $escape = FALSE) {
|
||||||
// Restore escaped characters
|
// Restore escaped characters
|
||||||
_packer_unescape_char(NULL, $escaped);
|
_packer_unescape_char(NULL, $escaped);
|
||||||
$script = preg_replace_callback(
|
$script = preg_replace_callback(
|
||||||
'/\\\\' .'/',
|
'/\\\\/',
|
||||||
'_packer_unescape_char',
|
'_packer_unescape_char',
|
||||||
$script
|
$script
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue