public static string MatchPasswordExpression(string password, IWordListProcessOptions options)
    {
      if (password == null) throw new ArgumentNullException("password");
      if (options == null) throw new ArgumentNullException("options");

      var reb = new RegularExpressionDirector(password, options);
      reb.InitBuilders();
      var result = reb.MatchPasswordExpression();
      return result;
    }
        public static string MatchPasswordExpression(string password, IWordListProcessOptions options)
        {
            if (password == null)
            {
                throw new ArgumentNullException("password");
            }
            if (options == null)
            {
                throw new ArgumentNullException("options");
            }

            var reb = new RegularExpressionDirector(password, options);

            reb.InitBuilders();
            var result = reb.MatchPasswordExpression();

            return(result);
        }