Replace undefined keywords by a default regexp (which matches any string).