|
Many thanks, Japa, Roberto. I could catch what you mean.
The examples on live link http://lua-users.org/wiki/LpegRecipes were oriented to applications. I did not think they were suitable for LPeg newbie. Anyways, if there will be a good tutorial of LPeg, I'll appreciate it.
thanks again.
在2010-03-13 01:13:54,"Roberto Ierusalimschy" <roberto@inf.puc-rio.br> 写道: >> I recommend you to look http://lua-users.org/wiki/LpegRecipes >> In this page you will see more examples with LPeg. It's better than learn >> LPeg with test file. Try to make a little user case with LPeg. > >This is an important point. The test file is not intended to be used >as a tutorial or a source of good practices. It is written to find as >many bugs as possible. That often requires bad practices. > >-- Roberto