Fixed applying all RegexOptions with ECMAScript.

RegexOptions.ECMAScript - enables ECMAScript-compliant behavior for the
expression. This value can be used only in conjunction with the
IgnoreCase, Multiline, and Compiled values. The use of this value with
any other values results in an exception.