/// <summary>
 /// Creates a regex strategy
 /// </summary>
 /// <param name="filter"></param>
 /// <param name="text"></param>
 public TextRegexMatchingStrategy(TextMatchFilter filter, string text)
 {
     this.TextFilter = filter;
     this.Text       = text;
 }
 /// <summary>
 /// Create a text contains strategy
 /// </summary>
 /// <param name="filter"></param>
 /// <param name="text"></param>
 public TextContainsMatchingStrategy(TextMatchFilter filter, string text)
 {
     this.TextFilter = filter;
     this.Text       = text;
 }