Generate instance of RegExp.
regular expression
attributes
RegExpException if there are any compilation errors.
Declare two variables and assign to them a RegExp object:
auto r = RegExp("pattern"); auto s = RegExp(r"p[1-5]\s*");
See Implementation
Generate instance of RegExp.