Login
You're viewing the mastodonapp.uk public feed.
  • Aug 27, 2026, 7:39 AM

    Anyone who wants a Rust regex engine with full POSIX ERE support, good extendability for custom operators, and both Unicode and byte-level matching?

    I will be writing one in the near-y future to cover for MinRX's features & more in uutils awk, so if there's a feature you've always wanted in a Rust regex engine, let me know!

    #rust #rustlang

    💬 1🔄 1⭐ 0

Replies

  • Aug 27, 2026, 7:44 AM

    Design notes:

    * Lexing with logos, users who want to extend it will either have to use a sublexer or I can do magic with proc macros to merge the lexers at comptime.

    * I hope to have a similar extendability & level of exposed internals as burntsushi's excellent regex crate, but with a more efficient AST/HIR data representation.

    * The algorithm will probably have to be exactly like MinRX, for my specific use-cases: github.com/mikehaertel/minrx/b

    💬 0🔄 0⭐ 0