Fix clowny comments in regex.c
Condensed code in regex.c