Skip to content

bowenjin/regex-matcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

regex-matcher

A simple regular expression matching library

Based on examples in Chapter 17 and 18 of Compiler Construction Using Java, JavaCC, and Yacc by Anthony J. Dos Reis

Currently the usage of the following regex special characters is supported: '*', '.', '+', '?', '(', ')'

Usage Examples

String regex = "a*b*c*";
Matcher matcher = new Matcher(regex);
boolean isMatch = matcher.match("aaabbc");

About

A simple regular expression matching library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages