Skip to content

Vaurkhorov/vregex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Regular Expression engine

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages