Skip to content

Automata based RegEx interpreter (educational!)

License

Notifications You must be signed in to change notification settings

highball-it/regex.js

 
 

Repository files navigation

regex.js Build Status

Automata based RegEx interpreter (educational!)

Dependencies

Use npm!

npm install

Test

npm test

Compile

Compile Jison and TypeScript with

npm run compile

Watch TypeScript with

npm run watch

Try

> node main.js "(a|bb)c" "bbc"
RegEx: (a|bb)c
Word: bbc
Match: true
> node main.js "(ab|c*)e" "ac"
RegEx: (ab|(c)*)e
Word: ac
Match: false

About

Automata based RegEx interpreter (educational!)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.7%
  • Yacc 7.8%
  • HTML 4.5%