lua-users home
lua-l archive

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

On Wed, Jan 5, 2011 at 8:40 AM, Steve Litt <> wrote:
> So what do you think -- how do you represent tab or "anything but tab" in a
> Lua pattern?

The pattern '\t' will match a tab, '\t+' will match one or more. And
'[^\t]+' will match non-tab characters.

So it really works like any other character...

steve d.