lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


2017-10-10 14:52 GMT+02:00 Soni L. <fakedme@gmail.com>:
> local m, pos
> repeat -- TODO fix
>   m, pos = string.match(word_eol[2],
> "%f[\\"..cw:sub(1,1).."](\\*)"..cw:sub(1,1).."()", pos)
> until #m % 2 == 0
>
> I'm having issues making this work.

The title of the post describes a trivial problem (answer: #str+1).

I can't work by reading it what problem the code tries to solve.