<init>

Common
JVM
JS
Native
1.0
<init> ( pattern : String )

Creates a regular expression from the specified pattern string and the default options.

Common
JVM
JS
Native
1.0
<init> ( pattern : String , option : RegexOption )

Creates a regular expression from the specified pattern string and the specified single option .

Common
JVM
JS
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 .