Definations of regex structs are moved to head files.