Пример #1
0
 public bool Fix(Built.Text.Lib.Constraint goal)
 {
     if (!base.Rx.Matches(goal))
     {
         base.Rx.Filter(goal.getFilter());
         this.Format(goal.getFormat());
     }
     return(base.Rx.Matches(goal));
 }
Пример #2
0
 public void Clean(Built.Text.Lib.Constraint desiredPattern)
 {
     base.Rx.Filter(desiredPattern.getFilter());
 }
Пример #3
0
 public bool Matches(Constraint pattern)
 {
     return Regex.IsMatch(this.hostString.ToString(), pattern.ToString());
 }