Same name in other branches
  1. 5.0.x advagg_js_minify/jsqueeze.inc \Patchwork\JSqueeze::renameInString()
  2. 8.x-2.x advagg_js_minify/jsqueeze.inc \Patchwork\JSqueeze::renameInString()
  3. 8.x-3.x advagg_js_minify/jsqueeze.inc \Patchwork\JSqueeze::renameInString()
  4. 8.x-4.x advagg_js_minify/jsqueeze.inc \Patchwork\JSqueeze::renameInString()

File

advagg_js_minify/jsqueeze.inc, line 912

Class

JSqueeze

Namespace

Patchwork

Code

protected function renameInString($a) {
    $b =& $this->strings[$a[0]];
    unset($this->strings[$a[0]]);
    return preg_replace_callback("#[.,{]?(?<![a-zA-Z0-9_\$@]){$this->specialVarRx}:?#", array(
        &$this,
        'getNewName',
    ), $b);
}