表示正则表达式的构造函数。
Represents the constructor for regular expressions.
Optional
创建一个新的正则表达式对象。
Creates a new regular expression object.
正则表达式的模式或字符串。
The pattern or string for the regular expression.
一个包含标志的字符串。
A string containing the flags.
创建一个正则表达式对象。
Creates a regular expression object.
正则表达式模式或现有正则表达式对象。
A regular expression pattern or an existing regular expression object.
正则表达式模式。
A regular expression pattern.
一个包含正则表达式标志的字符串。
A string containing regular expression flags.
Readonly
一个函数值的属性,是用于创建派生对象的构造函数。
A function valued property that is the constructor function that is used to create derived objects.
A legacy feature for browser compatibility
允许向 RegExp 对象添加属性。
Allows the addition of properties to a RegExp object.
Zh
表示正则表达式的构造函数。
En
Represents the constructor for regular expressions.