I'm sure an integrated version wouldn't do any better than qwerty's example. You are afterall adding another token into the sequence when checking. The intent is to replace one token with another token, not a series of them.