public Regex2(string patternText, AlgorithmType algorithmType, RegexOptions options) { PatternText = patternText; AlgorithmType = algorithmType; Options = options; Matcher = BaseMatcher.CreateMatcher(AlgorithmType, PatternText, options); }
private static BasePattern doTransform(string patternText, AlgorithmType algorithmType, RegexOptions options) { return(BaseMatcher.CreateMatcher(algorithmType, patternText, options).Pattern); }