Пример #1
0
        public Regex2(string patternText, AlgorithmType algorithmType, RegexOptions options)
        {
            PatternText   = patternText;
            AlgorithmType = algorithmType;
            Options       = options;

            Matcher = BaseMatcher.CreateMatcher(AlgorithmType, PatternText, options);
        }
Пример #2
0
 private static BasePattern doTransform(string patternText, AlgorithmType algorithmType, RegexOptions options)
 {
     return(BaseMatcher.CreateMatcher(algorithmType, patternText, options).Pattern);
 }