A matcher that detects the end of a token stream