escapeJsRegularExpression() public static method (available since version 2.0.6)
Escapes regular expression to use in JavaScript
public static string escapeJsRegularExpression ( $regexp ) | ||
---|---|---|
$regexp | string |
The regular expression to be escaped. |
return | string |
The escaped result. |
Please login to continue.