Closed randomvariable closed 7 years ago
Support stripping of multiple, chained ANSI control codes. In addition, support stripping of TRUECOLOR ANSI codes.
E.g: "\e[38;2;255;100;0mTRUECOLOR\e[0m\n\e[31mHello\e[0m\e[34mWorld\e[0m"
"\e[38;2;255;100;0mTRUECOLOR\e[0m\n\e[31mHello\e[0m\e[34mWorld\e[0m"
HOLD, as I reread the spec.
Match updated. TRUECOLOR is a test string, not part of the control statement.
Support stripping of multiple, chained ANSI control codes. In addition, support stripping of TRUECOLOR ANSI codes.
E.g:
"\e[38;2;255;100;0mTRUECOLOR\e[0m\n\e[31mHello\e[0m\e[34mWorld\e[0m"