Пример #1
0
        public override CharClassSpec AsCharClass()
        {
            if (Value.Length != 1 || !(Value.Length == 2 && char.IsHighSurrogate(Value[0])))
            {
                return(null);
            }

            return(new CharClassSpec(new InversionListCodePointSet(CodePoint.Get(Value, 0))));
        }