Left for archival purposes.

User avatar
By guttso
#17046 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?
User avatar
By TerryE
#17065 My suggestion is to forget this. You will never get this to install within the resources that are available on the esp8266. :(
User avatar
By cal
#17269
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