Creates a regular expression from the specified pattern string and the default options.
Creates a regular expression from the specified pattern string and the specified single option.
Creates a regular expression from the specified pattern string and the specified set of options.