builtin pattern matching

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

builtin pattern matching

On 5/11/19, Dirk Laurie <[hidden email]> wrote:
> The Lua solution is two-pronged:

> (a) for everyday use, the string matching library is concise and easy;

not quite, it lacks an OR ''|" operator.

> (b) for complex parsing-type applications, load LPEG.
> Besides being a Lua-ish extension, it is more powerful than regex.

should be builtin then IMO.
build in LPEG, build out regex. ;-)