示例#1
0
        public static CharMatcherAndGroup operator &(CharMatcher a, string b)
        {
            var cmg = new CharMatcherAndGroup();

            cmg.Matchers.Add(a);
            cmg.Matchers.Add(new ConstCharMatcher(b));
            return(cmg);
        }
示例#2
0
        public static CharMatcherAndGroup operator &(CharMatcher a, CharMatcher b)
        {
            var cmg = new CharMatcherAndGroup();

            cmg.Matchers.Add(a);
            cmg.Matchers.Add(b);
            return(cmg);
        }