public RuleOptions() { _matchOptions = new MatchOptions(); _templateOptions = new TemplateOptions(); _mergeOptions = new MergeOptions(); }
public void DefaultMatchTypeIsGroup() { var matchOptions = new MatchOptions(); Assert.AreEqual(MatchType.Group, matchOptions.MatchType); }
public void DefaultRegexOptionsIsNone() { var matchOptions = new MatchOptions(); Assert.AreEqual(RegexOptions.None, matchOptions.RegexOptions); }
public RTMatcher(string matchExpr, MatchOptions options) { _options = options; Regex = new Regex(matchExpr, _options.RegexOptions); }