public function matchArray(array $tokens, $reset = true)
    {
        if ($reset) {
            $this->reset();
        }
        foreach ($tokens as $t) {
            if (!$this->match($t)) {
                return false;
            }
        }
        return true;
    }