File
-
advagg_js_minify/jspacker.inc, line 633
Class
- ParseMaster
Code
public function exec($string) {
$this->_escaped = array();
$regexp = '/';
foreach ($this->_patterns as $reg) {
$regexp .= '(' . substr($reg[self::EXPRESSION], 1, -1) . ')|';
}
$regexp = substr($regexp, 0, -1) . '/';
$regexp .= $this->ignoreCase ? 'i' : '';
$string = $this->_escape($string, $this->escapeChar);
$string = preg_replace_callback($regexp, array(
&$this,
'_replacement',
), $string);
$string = $this->_unescape($string, $this->escapeChar);
return preg_replace($this->DELETED, '', $string);
}