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