Skip to content

A small implementation of a regular expression matching engine, written in standard C11.

License

Notifications You must be signed in to change notification settings

matp/tiny-regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-regex

tiny-regex is a small implementation of a regular expression matching engine, written in standard C11. It is based on two papers by Russ Cox [email protected]:

This library was mainly written for fun and is not intended as a full-featured general purpose regular expression matching engine.

Engine features

  • ^ and $ anchors
  • . match any single character
  • [...] and [^...] character classes
  • ?, *, +, and {x,y} greedy quantifiers
  • ??, *?, +?, and {x,y}? non-greedy quantifiers
  • (...) capturing groups

About

A small implementation of a regular expression matching engine, written in standard C11.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published