vregex 0.7.0

Regular Expression engine
Documentation
  • Coverage
  • 66.67%
    4 out of 6 items documented0 out of 0 items with examples
  • Size
  • Source code size: 41.19 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 451.19 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 17s Average build duration of successful builds.
  • all releases: 17s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • Vaurkhorov/vregex
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Vaurkhorov

vregex

A minimal regular expression engine built on top of non-deterministic finite automata(NFAs).

Syntax

Use within RegEx::from_pattern()

  • . matches any single character
  • | for alternate: a|b matches a or b
  • [] for character classes: [abc] matches any character in the set
  • Use ^ at the beginning to negate: [^abc] matches any character except a, b, or c
  • Predefined character classes:
    • \d, \D for digits
    • \l, \L for lowercase letters
    • \u, \U for uppercase letters
    • \s, \S for whitespace