private function ParseMaster::_unescape in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 8.4 advagg_js_minify/jspacker.inc \ParseMaster::_unescape()
- 8.2 advagg_js_minify/jspacker.inc \ParseMaster::_unescape()
- 8.3 advagg_js_minify/jspacker.inc \ParseMaster::_unescape()
- 7.2 advagg_js_compress/jspacker.inc \ParseMaster::_unescape()
- 7 advagg_js_compress/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;
}
}