Same name in other branches
- 5.0.x advagg_js_minify/jspacker.inc \ParseMaster::_unescape()
- 6.0.x advagg_js_minify/jspacker.inc \ParseMaster::_unescape()
- 7.x-2.x advagg_js_compress/jspacker.inc \ParseMaster::_unescape()
- 8.x-2.x advagg_js_minify/jspacker.inc \ParseMaster::_unescape()
- 8.x-3.x advagg_js_minify/jspacker.inc \ParseMaster::_unescape()
- 8.x-4.x advagg_js_minify/jspacker.inc \ParseMaster::_unescape()
1 call to ParseMaster::_unescape()
- ParseMaster::exec dans advagg_js_compress/
jspacker.inc
Fichier
-
advagg_js_compress/
jspacker.inc, line 744
Classe
Code
private function _unescape($string, $escapeChar) {
if ($escapeChar) {
$regexp = '/' . '\\' . $escapeChar . '/';
$this->buffer = array(
'escapeChar' => $escapeChar,
'i' => 0,
);
return preg_replace_callback($regexp, array(
&$this,
'_unescapeBis',
), $string);
}
else {
return $string;
}
}