ConsoleLogs\AnsiParser.cs (9)
33var nextEscapeIndex = text.IndexOf(EscapeChar, currentPos);
165nextEscapeIndex = text.IndexOf(EscapeChar, i + 1);
271if (span.Length <= 2 || (span[0] != EscapeChar || span[1] != '['))
290var nextEscapePosition = SubIndexOfSpan(span, EscapeChar, 1);
335if (span.Length <= 2 || (span[0] != EscapeChar || span[1] != ']'))
386if (span.Length <= 5 || (span[0] != EscapeChar || span[1] != ']'))
398var urlEndEscapePosition = SubIndexOfSpan(span, EscapeChar, 4);
406var linkEndEscapePosition = SubIndexOfSpan(span, EscapeChar, urlEndEscapePosition + 1);
409linkEndEscapePosition = SubIndexOfSpan(span, EscapeChar, linkEndEscapePosition + 1);