Commit 38266410 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#173494 by scor: removing a strange string concatenation from common.inc

parent ad6b5dbe
...@@ -1984,7 +1984,7 @@ function _packer_apply($script, $regexps, $escape = FALSE) { ...@@ -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) { ...@@ -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
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment