RegExp

constructor(pattern: RegExp)(source)
constructor(pattern: String, flags: String = definedExternally)(source)