Use match instead of split to simplify breaking into words.