We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f49e27e commit 35917ecCopy full SHA for 35917ec
tabulate.py
@@ -207,8 +207,8 @@ def escape_char(c):
207
tabulate_formats = list(sorted(_table_formats.keys()))
208
209
210
-_invisible_codes = re.compile("\x1b\[\d*m") # ANSI color codes
211
-_invisible_codes_bytes = re.compile(b"\x1b\[\d*m") # ANSI color codes
+_invisible_codes = re.compile(r"\x1b\[\d*m|\x1b\[\d*\;\d*\;\d*m") # ANSI color codes
+_invisible_codes_bytes = re.compile(b"\x1b\[\d*m|\x1b\[\d*\;\d*\;\d*m") # ANSI color codes
212
213
214
def simple_separated_format(separator):
0 commit comments