diff --git a/includes/common.inc b/includes/common.inc
index d781cbc4d52ceb47cef6080c02106b4096602399..9c233c2d5857ae125c00c79e2a67275e6b2317a3 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -1984,7 +1984,7 @@ function _packer_apply($script, $regexps, $escape = FALSE) {
   if ($escape) {
     // Remove escaped characters
     $script = preg_replace_callback(
-      '/\\\\(.)' .'/',
+      '/\\\\(.)/',
       '_packer_escape_char',
       $script
     );
@@ -2002,7 +2002,7 @@ function _packer_apply($script, $regexps, $escape = FALSE) {
     // Restore escaped characters
     _packer_unescape_char(NULL, $escaped);
     $script = preg_replace_callback(
-      '/\\\\' .'/',
+      '/\\\\/',
       '_packer_unescape_char',
       $script
     );