RegExp compile() has been deprecated since 1999.
Avoid using it.
It may cease to work in your browser at any time.
The compile() method was deprecated in JavaScript version 1.5.
The method was used to compile a regular expression during execution of a script.
RegExpObject.compile(
regexp,
modifier)
Parameter | Description |
---|---|
regexp | A regular expression |
modifier | Specifies the type of matching. "g" for a global match, "i" for a case-insensitive match and "gi" for a global, case-insensitive match |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!