8000 GitHub - halinhand/simple_regex: simple regex engine in C
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

halinhand/simple_regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

simple_regex

simple regex engine in C. Extended based on the code from Rob Pike (http://www.cs.princeton.edu/courses/archive/spr09/cos333/beautiful.html)

Supported syntax

c    matches any literal character c
.    matches any single character
[]   matches any one character listed between the brackets
[^]  matches any one character not listed between the brackets
?    matches any character one time if it exists
*    matches zero or more occurrences of the previous character
+    matches one or more occurrences of the previous character
^    matches the beginning of the input string
$    matches the end of the input string'
\\   escape character to interpret metasymbol as a literal

About

simple regex engine in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0