From 6b452e817090dba6c80454a42079fa5c9f83b1cd Mon Sep 17 00:00:00 2001 From: Jonas Maier Date: Sat, 6 Jun 2026 22:35:32 +0200 Subject: regex: only named matches now --- src/regex/enfa.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/regex/enfa.rs') diff --git a/src/regex/enfa.rs b/src/regex/enfa.rs index ea3bc93..2947f58 100644 --- a/src/regex/enfa.rs +++ b/src/regex/enfa.rs @@ -736,7 +736,7 @@ impl TryFrom for ENFA { states.push(EState::terminal()); Self { states, has_submatches: false, } } - Pattern::Submatch(pat) => { + Pattern::Submatch(_, pat) => { let mut this = Self::try_from(*pat)?; this.has_submatches = true; this -- cgit v1.2.3