Lines Matching refs:match
287 // http://www.match.net.cn/products.asp
1107 if ($this->match($_regex, $userAgent)) {
1117 * If the key is found then try to match the corresponding
1126 // Make the keys lowercase so we can match: isIphone(), isiPhone(), isiphone(), etc.
1134 $this->cache[$key] = $this->match($_rules[$key]);
1202 if ($this->match($_regex, $userAgent)) {
1251 public function match($regex, $userAgent = null)
1253 $match = (bool) preg_match(sprintf('#%s#is', $regex), (false === empty($userAgent) ? $userAgent : $this->userAgent), $matches);
1254 // If positive match is found, store the results for debug.
1255 if ($match) {
1260 return $match;
1332 preg_match(sprintf('#%s#is', $propertyPattern), $this->userAgent, $match);
1334 if (false === empty($match[1])) {
1335 $version = ($type == self::VERSION_TYPE_FLOAT ? $this->prepareVersionNo($match[1]) : $match[1]);
1374 $this->match('Playbook.*Tablet') ||
1377 ( $this->version('webOS', self::VERSION_TYPE_FLOAT) >= 1.4 && $this->match('Palm|Pre|Pixi') ) ||
1379 $this->match('hp.*TouchPad') ||
1407 ( $this->match('Kindle Fire') ||
1444 $this->match('NokiaN8|NokiaC7|N97.*Series60|Symbian/3') ||
1456 $this->match('MSIEMobile|Windows CE.*Mobile') || $this->version('Windows Mobile', self::VERSION_TYPE_FLOAT) <= 5.2 ||