~siborgium/Regex

JIT regex implementation in pure C
Escape sequences parsing
Classes parsing stub
Replace the majority of asserts with brand new CHECK_ macro & error codes

refs

trunk
browse  log 

clone

read-only
https://git.sr.ht/~siborgium/Regex
read/write
git@git.sr.ht:~siborgium/Regex

You can also use your local clone with git send-email.

#Regex

The project title is to be changed to something more meaningful.

This project is a Work-In-Progress implementation of a JIT regular expressions library.

Main goals:

  • Clean C99 code
  • Lightweight, embedded-friendly
  • Easy to use, both from C and FFI
  • Streaming matching, allowing to use it on infinite data streams
  • Plan9-based anchor semantics

This library is heavily inspired by vis(5) text editor [1] and sregex project [2]. It is considered a successor to both my Sregex fork [3] and Awk project [4] (not to be confused with actual awk).

[1] https://github.com/martanne/vis [2] https://github.com/openresty/sregex [3] https://git.sr.ht/~siborgium/sregex-streaming-api [4] to-be-added