Jaybizzle\CrawlerDetect\CrawlerDetect::getRegex PHP Method

getRegex() public method

Build the user agent regex.
public getRegex ( ) : string
return string
    public function getRegex()
    {
        return '(' . implode('|', $this->crawlers->getAll()) . ')';
    }