Exemple #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));
 }
Exemple #2
0
 public void Clean(Built.Text.Lib.Constraint desiredPattern)
 {
     base.Rx.Filter(desiredPattern.getFilter());
 }
Exemple #3
0
 public bool Matches(Constraint pattern)
 {
     return Regex.IsMatch(this.hostString.ToString(), pattern.ToString());
 }