Пример #1
0
 protected function __construct()
 {
     parent::__construct("/<meta[^>]*name=[\"|\\']description[\"|\\'][^>]*content=[\"]([^\"]*)[\"][^>]*>/i");
 }
Пример #2
0
 protected function __construct()
 {
     parent::__construct("/<body>.*<h1>(.+)<\\/h1>.*<\\/body>/siU");
 }
Пример #3
0
 protected function __construct()
 {
     parent::__construct("/<title>(.+)<\\/title>/siU");
 }