We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e5aab commit 97b821fCopy full SHA for 97b821f
cmd2/ansi.py
@@ -23,8 +23,8 @@
23
allow_style = STYLE_TERMINAL
24
25
# Regular expression to match ANSI style sequences
26
-# This matches: colorama.ansi.CSI + digit(s) + m
27
-ANSI_STYLE_RE = re.compile(r'\033\[[0-9]+m')
+# This matches: colorama.ansi.CSI + 0 or more digits + m
+ANSI_STYLE_RE = re.compile(r'\033\[[0-9]*m')
28
29
# Foreground color presets
30
FG_COLORS = {
0 commit comments