From 061c4dcde3ec12c92539cd41959a910f0ad37a4d Mon Sep 17 00:00:00 2001 From: Robert Dailey Date: Fri, 5 Feb 2021 16:12:33 -0600 Subject: [PATCH] Ignore case when searching for score --- trash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trash.py b/trash.py index e466f730..fd85ff5e 100644 --- a/trash.py +++ b/trash.py @@ -21,7 +21,7 @@ args = argparser.parse_args() Filter = Enum('FilterType', 'Preferred Required Ignored') header_regex = re.compile(r'^(#+)\s([\w\s\d]+)\s*$') -score_regex = re.compile(r'score.*?\[([-\d]+)\]') +score_regex = re.compile(r'score.*?\[([-\d]+)\]', re.IGNORECASE) # included_preferred_regex = re.compile(r'include preferred', re.IGNORECASE) # not_regex = re.compile(r'not', re.IGNORECASE) filter_regexes = (