From 927e7d4263172f67ee78bc5fd757fab0a697ab83 Mon Sep 17 00:00:00 2001 From: iff Date: Wed, 20 Nov 2024 21:01:37 +0100 Subject: [PATCH] fix: cargo regex --- rules/cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/cargo.toml b/rules/cargo.toml index 4a54bdf..1f1c61c 100644 --- a/rules/cargo.toml +++ b/rules/cargo.toml @@ -7,6 +7,6 @@ pattern = [ suggest = [ ''' #[err_contains(did you mean)] -{{command[0]}} {{err::(?:did you mean `)(.*)(?:`)}} {{command[2:]}} ''' +{{command[0]}} {{err::(?:did you mean `)(.*)(?:`\?)}} {{command[2:]}} ''' ]