public function pattern()
    {
        $patterns = func_get_args();

        foreach (func_get_args() as $pattern) {
            $this->patterns[] = $this->pattern_to_regex($pattern);
        }

        return $this;
    }