public Regex2(string patternText, AlgorithmType algorithmType, RegexOptions options) { PatternText = patternText; AlgorithmType = algorithmType; Options = options; Matcher = BaseMatcher.CreateMatcher(AlgorithmType, PatternText, options); }
public FuzzyMatcherPerfTester(BaseMatcher <T> matcher, TestElement <T>[] elements) { this.matcher = matcher; this.testSet = elements; }
private static BasePattern doTransform(string patternText, AlgorithmType algorithmType, RegexOptions options) { return(BaseMatcher.CreateMatcher(algorithmType, patternText, options).Pattern); }