Code to compile regular expressions into bitwise code