Same name in other branches
  1. 5.0.x advagg_js_minify/jspacker.inc \ParseMaster::_unescape()
  2. 6.0.x advagg_js_minify/jspacker.inc \ParseMaster::_unescape()
  3. 7.x-1.x advagg_js_compress/jspacker.inc \ParseMaster::_unescape()
  4. 8.x-2.x advagg_js_minify/jspacker.inc \ParseMaster::_unescape()
  5. 8.x-3.x advagg_js_minify/jspacker.inc \ParseMaster::_unescape()
  6. 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 760

Class

ParseMaster

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;
    }
}