private function JavaScriptPacker::_safeRegExp in Advanced CSS/JS Aggregation 6
Same name and namespace in other branches
- 8.4 advagg_js_minify/jspacker.inc \JavaScriptPacker::_safeRegExp()
- 8.2 advagg_js_minify/jspacker.inc \JavaScriptPacker::_safeRegExp()
- 8.3 advagg_js_minify/jspacker.inc \JavaScriptPacker::_safeRegExp()
- 7.2 advagg_js_compress/jspacker.inc \JavaScriptPacker::_safeRegExp()
- 7 advagg_js_compress/jspacker.inc \JavaScriptPacker::_safeRegExp()
1 call to JavaScriptPacker::_safeRegExp()
- JavaScriptPacker::_bootStrap in advagg_js_compress/
jspacker.inc
File
- advagg_js_compress/
jspacker.inc, line 429
Class
Code
private function _safeRegExp($string) {
return '/' . preg_replace('/\\$/', '\\\\$', $string) . '/';
}