Constructor RegExp
RegExp(String)
Constructs new RegExp from a string. Same as
RegExp(s, RegExpSyntax.ALL)
.
Declaration
public RegExp(string s)
Parameters
Type | Name | Description |
---|---|---|
System.String | s | Regexp string. |
RegExp(String, RegExpSyntax)
Constructs new RegExp from a string.
Declaration
public RegExp(string s, RegExpSyntax syntax_flags)
Parameters
Type | Name | Description |
---|---|---|
System.String | s | Regexp string. |
RegExpSyntax | syntax_flags | Boolean 'or' of optional RegExpSyntax constructs to be enabled. |