An open API service indexing awesome lists of open source software.

https://github.com/rachitnigam/regexmatcher

An implementation of a regex matcher based on Brzozowski derivatives
https://github.com/rachitnigam/regexmatcher

Last synced: 4 months ago
JSON representation

An implementation of a regex matcher based on Brzozowski derivatives

Awesome Lists containing this project

README

        

# RegexMatcher
An implementation of a regex matcher based on [Brzozowski derivatives](https://en.wikipedia.org/wiki/Brzozowski_derivative)

Regex defined in this language use the following BNF:
```ocaml
w := [A-Z a-z 0-9]

r := w
| r* (Iteration)
| r1 + r2 (choice operation)
| r1.r2 (sequencing)
| (r)
```