Fix a few extra special cases in regexes

(?: groups were being counted
The hacked BEAM compiled regexes vary in last 4byte