Oh, the fun of playing with regexes