From 7bc7ccc63ae2e5eadf9212ea2192fd3f4673af81 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Fri, 3 Jan 2025 01:13:14 -0500 Subject: [PATCH] make dusty regex nongreedy --- nomen/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nomen/settings.py b/nomen/settings.py index 38b712e..2ae8b85 100644 --- a/nomen/settings.py +++ b/nomen/settings.py @@ -12,7 +12,7 @@ from .utils import confirm log = logging.getLogger("nomen.settings") log.setLevel(logging.INFO) -DUSTY_DATA_LINE = re.compile(r"^`?(.+)`? – notified `?(\d+)`? times$") +DUSTY_DATA_LINE = re.compile(r"^`?(.+?)`? – notified `?(\d+)`? times$") class InvalidImportFormat(Exception):