示例#1
0
        private int DoEscape(string text)
        {
            var esc = EscapeSequenceDefinition.Match(text, out int length);

            if (esc != null)
            {
                ProcessEscapeSeuence(esc);
                return(length);
            }

            return(0);
        }
示例#2
0
 public EscapeSequence(EscapeSequenceDefinition definition, Match match)
 {
     Definition = definition;
     _match     = match;
 }