a regex interrpreter in Javascript -- this is a translation of one of GOF design pattern's example, originally written in Smalltalk