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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.