Need moar regex but this'll do for now.