rrthomas / lrexlib

A Lua (5.1 and later) binding of various regex library APIs (POSIX, PCRE, PCRE2, GNU, Oniguruma and TRE)
Other
161 stars 29 forks source link

Need to install in pure Lua environment #28

Closed LoganDark closed 7 years ago

LoganDark commented 7 years ago

No dependencies will be available. Only pure Lua. (And a few modifications you shouldn't worry about)

This library is written in C, which worries me.
shmuz commented 7 years ago

The above requirements suggest that Lrexlib is not the right library for your project.

LoganDark commented 7 years ago

Can you suggest a pure Lua PCRE alternative?

shmuz commented 7 years ago

Not that I know of.

You can look at LuLPeg or LPegLJ but (1) they run under LuaJIT and (2) LPeg syntax is very different from PCRE's (but one can use "re" module to get similar syntax).

I'm closing this issue as this is off-topic now.