Skip to content

braised-babbage/simple-regexp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

simple-regexp

This implements a simple NFA-based regular expression matcher, without backtracking. For more information, see the comments in simple-regexp.lisp.

Example Usage

SIMPLE-REGEXP> (match #\c "d")
NIL
SIMPLE-REGEXP> (match (alt "dog" "cat" "bird") "bird")
T
SIMPLE-REGEXP> (match (seq "__" (star #'alphanumericp) "__") "__foobar__")
T

About

Regular expression matching in Common Lisp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published