nitely / nim-regex

Pure Nim regex engine. Guarantees linear time matching
https://nitely.github.io/nim-regex/
MIT License
225 stars 20 forks source link
nim nim-lang nim-regex regex regex-engine regular-expressions

Regex

Build Status licence

A library for parsing, compiling, and executing regular expressions at both runtime and compile-time.

Features:

Install

nimble install regex

Compatibility

Nim +1.6.0

Docs

Read the docs

Tests

nimble test

Debugging

Compile with -d:regexDotDir:. to generate dot files of the regexes (NFAs) within the nim file. A dot file can be viewed in Graphviz. Requires Nim +1.2.

LICENSE

MIT