Remove force lowercasing of commands.json

This commit is contained in:
Mark Dietzer 2022-03-29 08:15:36 -07:00
commit b2e701d3fd
3 changed files with 3368 additions and 3366 deletions

View file

@ -165,7 +165,7 @@ def get_version():
def remove_ansi_escape_codes(text):
"""Remove ANSI escape sequences that may be left in the text."""
re_ansi_escape = re.compile(r'(\x9B|\x1B\[)[0-?]*[ -/]*[@-~]')
return re_ansi_escape.sub('', str(text)).lower()
return re_ansi_escape.sub('', str(text))
def remove_extra_whitespace(text):