Regex.c errors fixed