Use RegexOptions.Compiled if available