From 74f5c80e228010e5b134a8319bd383a384be0d93 Mon Sep 17 00:00:00 2001 From: pepopo978 Date: Mon, 28 Jul 2025 14:17:45 -0700 Subject: [PATCH] disable regex in ignorelist - no longer need to escape things like %- --- Cursive.toc | 4 ++-- filter.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cursive.toc b/Cursive.toc index a789f50..3fe2a20 100644 --- a/Cursive.toc +++ b/Cursive.toc @@ -1,6 +1,6 @@ ## Interface: 11200 -## Title: [|CFF33AAFFSUPERWOW|R] Cursive 1.4.0 -## Title-zhCN: [|CFF33AAFFSUPERWOW|R] Cursive 1.4.0 +## Title: [|CFF33AAFFSUPERWOW|R] Cursive 2.4.0 +## Title-zhCN: [|CFF33AAFFSUPERWOW|R] Cursive 2.4.0 ## Author: Pepopo ## Notes: Uses SuperWoW GUIDs to show units in combat and track curses ## Notes-zhCN: 使用SuperWoW的GUID功能来显示战斗中的单位并监视诅咒等 diff --git a/filter.lua b/filter.lua index a489e49..defa247 100644 --- a/filter.lua +++ b/filter.lua @@ -66,7 +66,7 @@ filter.notignored = function(unit) return true end for _, str in ipairs(Cursive.db.profile.ignorelist) do - if string.find(string.lower(unitName), string.lower(str)) then + if string.find(string.lower(unitName), string.lower(str), nil, false) then return false end end