Broke regexp into multiple regexes. Less brittle.