fix struct regex