Same name in other branches
  1. 5.0.x advagg_js_minify/jspacker.inc \ParseMaster::_escape()
  2. 6.0.x advagg_js_minify/jspacker.inc \ParseMaster::_escape()
  3. 7.x-1.x advagg_js_compress/jspacker.inc \ParseMaster::_escape()
  4. 7.x-2.x advagg_js_compress/jspacker.inc \ParseMaster::_escape()
  5. 8.x-2.x advagg_js_minify/jspacker.inc \ParseMaster::_escape()
  6. 8.x-3.x advagg_js_minify/jspacker.inc \ParseMaster::_escape()
1 call to ParseMaster::_escape()
ParseMaster::exec in advagg_js_minify/jspacker.inc

File

advagg_js_minify/jspacker.inc, line 740

Class

ParseMaster

Code

private function _escape($string, $escapeChar) {
    if ($escapeChar) {
        $this->buffer = $escapeChar;
        return preg_replace_callback('/\\' . $escapeChar . '(.)' . '/', array(
            &$this,
            '_escapeBis',
        ), $string);
    }
    else {
        return $string;
    }
}