Simple Regular Expression library written in C, inspired by this post
^is the start anchor, matches the beginning of the string
.matches with any character
$matches end of string
How to use
char *pattern = ".*"; char *text = "abcdfseirjhewo34434jj"; assert(search(pattern, text));
Look at tests/test.c for more examples.