prettiness / style. if i wanted robustness, i'd use a regular expression `/:$/`