stashing PCRE modifications

This commit is contained in:
rodneyrehm
2011-12-18 17:21:44 +00:00
parent d0b6b69f7c
commit 75c271079d
15 changed files with 731 additions and 688 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ function smarty_modifiercompiler_strip($params, $compiler)
if (!isset($params[1])) {
$params[1] = "' '";
}
return "preg_replace('!\s+!u', {$params[1]},{$params[0]})";
return "preg_replace('!\s+!" . SMARTY_PREG_MODIFIER . "', {$params[1]},{$params[0]})";
}
?>