trying to write a lightweight regexp engine
regexp done!
clean up