Lines Matching refs:matches
423 if (preg_match('/^['.$Line['text'][0].']{3,}[ ]*([^`]+)?[ ]*$/', $Line['text'], $matches))
430 if (isset($matches[1]))
444 $language = substr($matches[1], 0, strcspn($matches[1], " \t\n\f\r"));
543 if (preg_match('/^('.$pattern.'[ ]+)(.*)/', $Line['text'], $matches))
556 $listStart = stristr($matches[0], '.', true);
568 $matches[2],
580 … $Line['indent'] and preg_match('/^'.$Block['pattern'].'(?:[ ]+(.*)|$)/', $Line['text'], $matches))
593 $text = isset($matches[1]) ? $matches[1] : '';
657 if (preg_match('/^>[ ]?(.*)/', $Line['text'], $matches))
663 'text' => (array) $matches[1],
673 if ($Line['text'][0] === '>' and preg_match('/^>[ ]?(.*)/', $Line['text'], $matches))
682 $Block['element']['text'] []= $matches[1];
740 …g_match('/^<(\w[\w-]*)(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*(\/)?>/', $Line['text'], $matches))
742 $element = strtolower($matches[1]);
750 'name' => $matches[1],
755 $length = strlen($matches[0]);
761 if (isset($matches[2]) or in_array($matches[1], $this->voidElements))
770 if (isset($matches[2]) or in_array($matches[1], $this->voidElements))
775 if (preg_match('/<\/'.$matches[1].'>[ ]*$/i', $remainder))
797 if (preg_match('/(.*?)<\/'.$Block['name'].'>[ ]*$/i', $Line['text'], $matches)) # close
826 … (preg_match('/^\[(.+?)\]:[ ]*<?(\S+?)>?(?:[ ]+["\'(](.+)["\')])?[ ]*$/', $Line['text'], $matches))
828 $id = strtolower($matches[1]);
831 'url' => $matches[2],
835 if (isset($matches[3]))
837 $Data['title'] = $matches[3];
976 preg_match_all('/(?:(\\\\[|])|[^|`]|`[^`]+`|`)+/', $row, $matches);
978 foreach ($matches[0] as $index => $cell)
1142 …ch('/^('.$marker.'+)[ ]*(.+?)[ ]*(?<!'.$marker.')\1(?!'.$marker.')/s', $Excerpt['text'], $matches))
1144 $text = $matches[2];
1148 'extent' => strlen($matches[0]),
1159 …['text'], '>') !== false and preg_match('/^<((mailto:)?\S+?@\S+?)>/i', $Excerpt['text'], $matches))
1161 $url = $matches[1];
1163 if ( ! isset($matches[2]))
1169 'extent' => strlen($matches[0]),
1172 'text' => $matches[1],
1190 …rpt['text'][1] === $marker and preg_match($this->StrongRegex[$marker], $Excerpt['text'], $matches))
1194 elseif (preg_match($this->EmRegex[$marker], $Excerpt['text'], $matches))
1204 'extent' => strlen($matches[0]),
1208 'text' => $matches[1],
1275 if (preg_match('/\[((?:[^][]++|(?R))*+)\]/', $remainder, $matches))
1277 $Element['text'] = $matches[1];
1279 $extent += strlen($matches[0]);
1288 …/^[(]\s*+((?:[^ ()]++|[(][^ )]+[)])++)(?:[ ]+("[^"]*"|\'[^\']*\'))?\s*[)]/', $remainder, $matches))
1290 $Element['attributes']['href'] = $matches[1];
1292 if (isset($matches[2]))
1294 $Element['attributes']['title'] = substr($matches[2], 1, - 1);
1297 $extent += strlen($matches[0]);
1301 if (preg_match('/^\s*\[(.*?)\]/', $remainder, $matches))
1303 $definition = strlen($matches[1]) ? $matches[1] : $Element['text'];
1306 $extent += strlen($matches[0]);
1337 …if ($Excerpt['text'][1] === '/' and preg_match('/^<\/\w[\w-]*[ ]*>/s', $Excerpt['text'], $matches))
1340 'markup' => $matches[0],
1341 'extent' => strlen($matches[0]),
1345 …rpt['text'][1] === '!' and preg_match('/^<!---?[^>-](?:-?[^-])*-->/s', $Excerpt['text'], $matches))
1348 'markup' => $matches[0],
1349 'extent' => strlen($matches[0]),
1353 …g_match('/^<\w[\w-]*(?:[ ]*'.$this->regexHtmlAttribute.')*[ ]*\/?>/s', $Excerpt['text'], $matches))
1356 'markup' => $matches[0],
1357 'extent' => strlen($matches[0]),
1390 …Excerpt['text'][1] === '~' and preg_match('/^~~(?=\S)(.+?)(?<=\S)~~/', $Excerpt['text'], $matches))
1393 'extent' => strlen($matches[0]),
1396 'text' => $matches[1],
1410 …if (preg_match('/\bhttps?:[\/]{2}[^\s<]+\b\/*/ui', $Excerpt['context'], $matches, PREG_OFFSET_CAPT…
1412 $url = $matches[0][0];
1415 'extent' => strlen($matches[0][0]),
1416 'position' => $matches[0][1],
1432 …erpt['text'], '>') !== false and preg_match('/^<(\w+:\/{2}[^ >]+)>/i', $Excerpt['text'], $matches))
1434 $url = $matches[1];
1437 'extent' => strlen($matches[0]),