public static Pattern Compile(string pattern) { return new Pattern (new Regex (pattern, RegexOptions.Compiled)); }