No description
Find a file
2025-02-21 04:38:09 -03:00
.github CI docs 2025-02-21 04:38:09 -03:00
bench Parallel states refactor (#153) 2025-02-11 22:00:15 -03:00
docs remove docs 2024-01-05 11:07:32 -03:00
src Move deprecated regex to oldregex (#155) 2025-02-21 04:34:29 -03:00
tests tests 2024-12-31 00:43:21 -03:00
.gitignore Fix casefold (#150) 2024-12-30 20:17:05 -03:00
CHANGELOG.md bump 2025-02-17 04:03:32 -03:00
LICENSE initial 2018-01-12 17:23:46 -03:00
README.md Drop support for Nim < 1.6 2024-03-07 18:13:46 -03:00
regex.nimble bump 2025-02-19 00:43:31 -03:00

Regex

Build Status licence

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

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