Commit 2a1d5bbd authored by Ivaria's avatar Ivaria

Use long string to avoid invalid escape sequence in regexp

parent a59dcbc4
......@@ -57,7 +57,7 @@ function VUHDO_deleteDebuffIgnoreClicked(aButton)
if (VUHDO_DEBUFF_BLACKLIST[strtrim(tText)]) then
VUHDO_DEBUFF_BLACKLIST[strtrim(tText)] = nil;
else
local tSpellId = string.match(tText, "([^\]\[]+)");
local tSpellId = string.match(tText, [[([^\]\[]+)]]);
if (tSpellId ~= nil and VUHDO_DEBUFF_BLACKLIST[tSpellId]) then
VUHDO_DEBUFF_BLACKLIST[tSpellId] = nil;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment