[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: pattern nick name table, would it be handy?
- From: Daurnimator <quae@...>
- Date: Wed, 1 Jun 2011 13:55:32 +1000
uh, you guys ever seen lpeg.locale?
otherwise common patterns I use:
local eof = P(-1)
local newline = P"\r"^-1 * "\n" --windows new lines too
local emptyline = space^0