Added support for RegexOptions