public function addPattern($pattern, $label = true)
    {
        $count                  = count($this->patterns);
        $this->patterns[$count] = $pattern;
        $this->labels[$count]   = $label;
        $this->regex            = null;
    }