An introduction to the FIRE engine : a C++ toolkit for finite automata and regular expressions