lua-users home
lua-l archive

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


> Hello lpeg folks,
> 
> Is lpeg.C suppose to append a tab after a match?
> 
>     local word = lpeg.C'wo' *  lpeg.C'rd'
>     print(word:match('word'))
> 
>     wo\trd
> 
> Note that \t is the tab character (ascii 09).
> How can I get rid of it?

Function 'print' adds a tab between multiple values being printed.

-- Roberto