guttso wrote:I think regular expression will useful in a lot of case, for example check a string is json or not. I found a regular expression for Lua on Internet http://www.inf.puc-rio.br/~roberto/lpeg/ but don't know how to add to NodeMCU. Is there any guide or tutorial about adding new module to NodeMCU?
Moin,
Did you notice the lua style of regular expression? Maybe they fit your needs?
Enough for standard patterns IMHO.
Cal
cal wrote:Moin,
Did you notice the lua style of regular expression? Maybe they fit your needs?
Enough for standard patterns IMHO.
Cal
Did you meant this http://lua-users.org/wiki/PatternsTutorial? There are some limitations of standard Lua.