diff --git a/tools/list_distros.py b/tools/list_distros.py index 0aa22636..a2db5330 100755 --- a/tools/list_distros.py +++ b/tools/list_distros.py @@ -15,7 +15,7 @@ from hypy_utils import write from hyfetch.distros import AsciiArt RE_SPLIT = regex.compile('EOF[ \n]*?;;') -RE_COLORS = regex.compile("""(?<=set_colors )[a-z\\d ]+(?=\n)""") +RE_COLORS = regex.compile("""(?<=set_colors )[\"#a-z\\d ]+(?=\n)""") def substr(s: str, start: str, end: str | None = None):