lua-patterns

Exposing Lua string patterns to Rust (by stevedonovan)

Lua-patterns Alternatives

Similar projects and alternatives to lua-patterns

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better lua-patterns alternative or higher similarity.

lua-patterns reviews and mentions

Posts with mentions or reviews of lua-patterns. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-04-03.
  • The Norway Problem
    18 projects | news.ycombinator.com | 3 Apr 2021
    If you want automatic built-in string validation, one option that seems particularly interesting is to use a variant of Lua patterns, which are weaker and easier to understand than regular expressions, but still provide a significant degree of "sanity" for something like an email. The original version works on bytes and not runes, but you could simply write a parser that works on runes instead, and the pattern-matching code is just 400 old and battle-tested lines of C89.

    Lua patterns have also shown up in other places, such as BSD's httpd, and an implementation for Rust:

    https://www.gsp.com/cgi-bin/man.cgi?section=7&topic=PATTERNS

    https://github.com/stevedonovan/lua-patterns

    http://lua-users.org/wiki/PatternsTutorial

Stats

Basic lua-patterns repo stats
1
27
0.0
over 1 year ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com