jsfa finite-state automata implementation in javascript. This is a port of the original Java library dk.brics.automata Usage Sample code can be found in test folder. How it works Please see this post on how the library works.