Re: lpeg.C append tab character to capture
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: lpeg.C append tab character to capture
- From: Michal Kottman <k0mpjut0r@...>
- Date: Sun, 1 Jul 2012 18:55:18 +0200
On 1 July 2012 00:43, Philippe Rathé <prathe@gmail.com> wrote:
> Interesting, I've just read on returning multiple values. So in order
> to get a string I'm doing:
>
> table.concat({word:match('word')})
If you only want to write it out, you can also try:
io.write(word:match('word'))
io.write does no fancy \t separators and end-of-line as the print function.