make dusty regex nongreedy

This commit is contained in:
Infinidoge 2025-01-03 01:13:14 -05:00
parent 794efb68b8
commit 7bc7ccc63a
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E

View file

@ -12,7 +12,7 @@ from .utils import confirm
log = logging.getLogger("nomen.settings") log = logging.getLogger("nomen.settings")
log.setLevel(logging.INFO) 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): class InvalidImportFormat(Exception):