Remove regex hack.