Phalanx: front-end for regexp validation