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