helpers\BaseHtml escapeJsRegularExpression()

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.

doc_Yii
2016-10-30 17:05:06
Comments
Leave a Comment

Please login to continue.