private function pageScrape( $url )
{
$page_stream = file_get_contents( $url );
$pattern = '/<link\s+(?=[^>]*rel="(?:[Ss]hortcut\s)?[Ii]con"\s+)(?:[^>]*href="(.+?)").*/>/';
preg_match( $pattern, $page_stream, $matches );
print_r( $matches );
// echo $page_stream;
}
エラーが発生します:
警告: preg_match() [function.preg-match]: 行16の/home/foo/public_html/foo/source/class.ControlBookmark.phpの不明な修飾子 '>'
pcre での PHP.net リファレンス