Search with text containing `[` may cause lua error
doneykoo opened this issue ยท 0 comments
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Go to map: Stormwind City, Old Town, 76,65
- Talk with NPC: War Mount NPC
- in search box, type
"re["
- See lua error:
1x xMerchant/core.lua:494: malformed pattern (missing ']')
[string "=[C]"]: in function `match'
Locals:
(*temporary) = "reins of the black war tiger"
(*temporary) = "re["
Expected behavior
No lua error
Screenshots
Version:
- wow 10.1
- Server locale region US
Additional context
n/a