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

File

advagg_js_minify/jspacker.inc, line 724

Class

ParseMaster

Code

private function _replace_name($match, $offset) {
    $length = strlen($match[$offset + 2]);
    $start = $length - max($length - strlen($match[$offset + 3]), 0);
    return substr($match[$offset + 1], $start, $length) . $match[$offset + 4];
}