private int DoEscape(string text) { var esc = EscapeSequenceDefinition.Match(text, out int length); if (esc != null) { ProcessEscapeSeuence(esc); return(length); } return(0); }
public EscapeSequence(EscapeSequenceDefinition definition, Match match) { Definition = definition; _match = match; }