Rename pattern to token