From 0a0a7b321bf23f7feab311d88a303eee7d1d50d0 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Fri, 6 Feb 2026 12:11:15 +1100 Subject: [PATCH] remove warning / use r"" for regexp string" --- bills.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bills.py b/bills.py index a6b38fe..2e35177 100644 --- a/bills.py +++ b/bills.py @@ -304,7 +304,7 @@ def get_growth_value( bt, bill_type ): finance_data = get_finance_data() return finance_data['Inflation'] else: - match = re.match("flat-(\d+)", which ) + match = re.match(r"flat-(\d+)", which ) if match: return int(match.group(1)) else: