public function matchText($pattern, &$matches = [])
    {
        if (isset($this['params']['text'])) {
            return preg_match($pattern, $this['params']['text'], $matches);
        } else {
            return false;
        }
    }