[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lexer and syntax highlighter powered by LPeg
- From: mitchell <mforal.news@...>
- Date: Fri, 06 Apr 2007 19:40:05 -0400
As noted in the readme for the lexer I think it should handle all syntax
might have missed a number format or something. Corrections welcome.
I am having trouble understanding the following. (I don't think it's
documented very clearly)
local singlequoted_string = P "'" * ((1 - S "'\r\n\f\\") + (P '\\' * 1))
^ 0 * "'"
What is the P '\\' * 1 for? Does it match a \ and then any single character?
Thank you Roberto for this most wonderful library!