A Simple Regular Expression Engine