mirror of
https://github.com/Insality/druid.git
synced 2025-09-28 02:22:18 +02:00
Update docs, config generations, fix linter
This commit is contained in:
@@ -688,7 +688,8 @@ local function matcherGenerator(regex, plain)
|
||||
local sum = 0
|
||||
local bc, ec = utf8sub(str, 1, 1), utf8sub(str, 2, 2)
|
||||
local skip = len(bc) + len(ec)
|
||||
bc, ec = utf8unicode(bc), utf8unicode(ec)
|
||||
bc = utf8unicode(bc) --[[@as string]]
|
||||
ec = utf8unicode(ec) --[[@as string]]
|
||||
return function(cC)
|
||||
if cC == ec and sum > 0 then
|
||||
sum = sum - 1
|
||||
|
Reference in New Issue
Block a user