From 7a438e07514ffc6b58b843dd8e42fa4088b95e71 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 20 Jul 2026 17:20:17 +0800 Subject: fix(patterns): broaden pattern detection to cover both bracketed forms --- mingling_pathf/src/patterns/renderer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mingling_pathf/src/patterns/renderer.rs') diff --git a/mingling_pathf/src/patterns/renderer.rs b/mingling_pathf/src/patterns/renderer.rs index c2e9ca9..4ad1f75 100644 --- a/mingling_pathf/src/patterns/renderer.rs +++ b/mingling_pathf/src/patterns/renderer.rs @@ -13,7 +13,7 @@ pub struct RendererPattern; impl AnalyzePattern for RendererPattern { fn contains(&self, content: &str) -> bool { - content.contains("renderer]") + content.contains("[renderer") || content.contains("renderer]") } fn analyze(&self, content: &str) -> Vec { -- cgit