summaryrefslogtreecommitdiff
path: root/ar/.config/mpv/script-modules/utf8/charclass/compiletime/stub.lua
blob: 395d05c7efc597a79fd249989f73b4eaf3859581 (plain)
1
2
3
4
5
6
7
8
9
return function(utf8)

local cl = utf8.regex.compiletime.charclass.builder

return function(str, c, bs, ctx)
  return cl.new():with_codes(c), utf8.next(str, bs) - bs
end

end