mirror of
https://github.com/nitely/nim-regex
synced 2026-01-03 01:24:41 +00:00
No description
| .github | ||
| bench | ||
| docs | ||
| src | ||
| tests | ||
| .gitignore | ||
| CHANGELOG.md | ||
| LICENSE | ||
| README.md | ||
| regex.nimble | ||
Regex
A library for parsing, compiling, and executing regular expressions at both runtime and compile-time.
Features:
- The match time is linear in the length of the input string
- Supports compiling regex at compile-time
- Supports matching at compile-time
- Unicode level-1 support
- Descriptive error messages
- PCRE syntax and semantics
Install
nimble install regex
Compatibility
Nim +1.6.0
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