Regular expressions are the worst thing.