Stand-alone port of Boomerang Regular Expression Library