<init>
Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
Creates a regular expression from the specified pattern string and the default options.
Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
<init>(pattern: String, option: RegexOption)
Creates a regular expression from the specified pattern string and the specified single option.
Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
<init>(pattern: String, options: Set<RegexOption>)
For JVM, Native
Creates a regular expression from the specified pattern string and the specified set of options.
For JS
Creates a regular expression from the specified pattern string and the specified set of options.
Constructor Creates a regular expression from the specified pattern string and the specified set of options.