Skip to content

siidheesh/regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Regex

A crap NFA-based text-directed regex engine written for fun (beta)

To test:

python regex.py

Currently only parses a subset of the POSIX regex spec

Supports most of the POSIX BRE spec, including variable-width lookarounds †

What it doesn't support (yet):

  • Capture groups
  • Backreferences

† negative lookarounds are greedy, i.e they'll reject if the expression is found anywhere ahead of (resp. behind) the current pos

About

a text-directed regex engine

Topics

Resources

Stars

Watchers

Forks

Languages