Skip to content

drcxd/regexp_search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple regular expression matching program using NFA

This is a small regular expression program which could parse and match simple regular expression.

The idea of NFA is learned from [1]. The implementation mainly refer to Russ Cox's Regular expression matching can be simple and fast.

Plain Text

The program could matching plain text including all English alphabets and Arabic numerals

Parenthesis

The parenthesis could only be used to specify the priority. No capture is implemented.

Quantity and Alternation Character

The program support quantity characters including *, ? and + and alternation character |.

Reference

[1] Thompson K. Programming Techniques: Regular expression search algorithm[J]. Comm Acm, 1968, 11(6):419-422.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published