diff --git a/colors/xfstests.py b/colors/xfstests.py index f2311b8..648724a 100644 --- a/colors/xfstests.py +++ b/colors/xfstests.py @@ -72,7 +72,7 @@ for line in sys.stdin: if line == "\n": print_config() elif re.match("^[A-Z_]+[ ]+-- .*?\n", line): - if match := re.match("(^PLATFORM(.*?)PREEMPT)(.*?\n)", line): + if match := re.match("(^PLATFORM(.*?)PREEMPT.*?) (.*?\n)", line): add_config(match.group(1)) line = f"COMPILED -- {match.group(3)}" add_config(line)