lua-users home
lua-l archive

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

On Tue, Jan 5, 2016 at 5:41 AM, Jonathan Goble <> wrote:
> My suggestion is to add the token %B, which would perform the same
> thing as %b, except it would recognize an escape character specified
> in the arguments to the token, and upon encountering the escape
> character, the following character would be ignored. I doubt it would
> handle all use cases, but it almost certainly would handle a large
> percentage.

Does it handle escaping the escape character?

(' - "foo\\"bar" - '):match([["\"]]
(' - "foo\\\"bar" - '):match([["\"]]


> [1]