rpike_matcher
dz / misc / rpike_matcherSummary
An elegant regex matcher by Rob Pike, implemented in 35 lines of C. This is also an experiment to test out a new code annotaiton framework I've been working on here.
Node Tree
Nodes
| more_info | |
| content | Write-up on these lines |
| remarks | I haven't read this, but it seems like it'd be much more insightful than anything I'd have to say looking at just the code. |
| hyperlink | https://www.cs.princeton.edu/courses/archive/spr09/cos333/beautiful.html |
| tags | cprog, robpike, matcher |
| funcdefs | |
| content | Forward Function Declarations |
| remarks | Added these to avoid some gcc warnings |
| match | |
| content | match function |
| matchhere | |
| content | matchhere() function |
| matchstar | |
| content | matchstar() function |