Lines Matching refs:matches
23 if (preg_match('/<a\s+name="([^"]*)">/', $text, $matches)) {
24 $link = "#" .$matches[1];
25 …} elseif (preg_match('/<\?php\s+print_link\s*\("([^"]+)",\s*"[^"]+"\);\s*\?>/', $text, $matches)) {
26 $link = $matches[1];
27 …if (preg_match('/<\?php\s+print_link\s*\(\'([^\']+)\',\s*\'[^\']+\'\);\s*\?>/', $text, $matches)) {
28 $link = $matches[1];
29 …h('/<\?php\s+print_link\s*\("([^"]+)",\s*make_image\s*\([^\)]*\)\s*\);\s*\?>/', $text, $matches)) {
30 $link = $matches[1];
31 } elseif (preg_match('/<a\s+href="([^"]*)">/', $text, $matches)) {
32 $link = $matches[1];
115 } elseif (preg_match('/<h1>(.*)<\/h1>/i', $line, $matches)) {
117 $headlines[$headlineid]['title'] = "$matches[1]";
118 #DEBUG# print "Title: $matches[1]<br />";
121 } elseif (preg_match('/<span.*>\[(\d+)-(\S*)-(\d+)\]<\/span>/', $line, $matches)) {
123 … $headlines[$headlineid]['date'] = mktime(1,1,1, $mos[$matches[2]], $matches[1], $matches[3]);
124 #DEBUG# print "Date: $matches[1] $matches[2] $matches[3]<br />";
127 } elseif (preg_match("/<!-- SUBJECT: (.*?) -->/", $line, $matches)) {
128 $headlines[$headlineid]['subject'] = $matches[1];