Skip to content

Noahnut/RegexGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Regex Go

Use the NFA to implement which inspire by Russ Cox

Usage

reg := NewRegexGo("a*b") //Create new regex pattern 
result := reg.CheckIsMatch("aaaab") // return boolean type to check the string is match the pattern or not

Reference

https://swtch.com/~rsc/regexp/regexp1.html

Releases

No releases published

Packages

No packages published

Languages