Try to match all ANSI escape sequences, not just CSI (i.e. `\e[`) - also the ones that are followed by additional bytes (e.g. CSI, OSC).
Try to match all ANSI escape sequences, not just CSI (i.e. `\e[`) - also the ones that are followed by additional bytes (e.g. CSI, OSC).