/// <summary>
 /// Encodes a string as a regular expression so that the literal string can
 /// be searched for in the word list.
 /// </summary>
 /// <param name="value">The string to be encoded.</param>
 /// <returns>The encoded string</returns>
 protected string RegExEncode(string value)
 {
     return(RegExEncoder.Encode(value));
 }
Example #2
0
 public override string GetRegularExpression(string password)
 {
     return(RegExEncoder.Encode(password));
 }