regex and vsprint functions commit