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 in advagg_js_compress/
jspacker.inc
File
-
advagg_js_compress/
jspacker.inc, line 744
Class
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;
}
}