lua-users home
lua-l archive

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


On Sat, Nov 1, 2014, 12:24 Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:

>    string.gsub(unicode_string, "[^\128-\193]", dosomehing)

In Lua 5.3 you'll be able to say
>    string.gsub(unicode_string, utf8.charpattern, dosomehing)



Thanks, I didn't knew about it or this use case.