From ca3c887b61efd221b4a76e7fba6b6d0cef0e9f29 Mon Sep 17 00:00:00 2001 From: Azalea Date: Fri, 2 Jun 2023 00:24:31 -0700 Subject: [PATCH] [F] Fix list_distros compatibility --- tools/list_distros.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):