Skip to content

DjoCoding/regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

regex

A regex engine built with C for recreational programming purposes.

Note

regex is still under construction, bugs may appear from nowhere

Expectations

This project is expected to reach a state where it can operate on regular expressions and test string matching.

Now

regex is able to lex, parse, compile regular expressions into NFAs and use graphviz for automaton visualization. it can also check if a string matches a regex or not.

Examples

regex: "a+b"

a+b

regex: "^a+b$"

a+b

regex: "^a|b$"

a|b

regex: "a{1,2}b$"

a|b

regex: "^[a-d]$"

a|b

About

A regex engine built with C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published