public static MatchCollection Matches(
     this RegExpPattern pattern,
     string input) =>
     new Regex(pattern.ToString()).Matches(input);
        public static bool IsMatch(this RegExpPattern pattern, string input)
        {
            var regExp = new Regex(pattern.ToString());

            return regExp.IsMatch(input);
        }
        public static IEnumerable<string> Split(this RegExpPattern pattern, string input)
        {
            var regExp = new Regex(pattern.ToString());

            return regExp.Split(input);
        }