private function CSSmin::escapeReplacementString in Advanced CSS/JS Aggregation 7.2
Escapes backreferences such as \1 and $1 in a regular expression replacement string
Parameters
$string:
Return value
string
2 calls to CSSmin::escapeReplacementString()
- CSSmin::minify in advagg_css_compress/
yui/ CSSMin.inc - Minifies the given input CSS string
- CSSmin::processStrings in advagg_css_compress/
yui/ CSSMin.inc
File
- advagg_css_compress/
yui/ CSSMin.inc, line 1104
Class
Code
private function escapeReplacementString($string) {
return addcslashes($string, '\\$');
}