Lines Matching refs:preg_match

212       if(preg_match("/^%!\\s*({$opts})(?:\\((?:{$tgts})\\))?\\s*:\\s*(.*)$/i", $c, $m)) {
230 if(preg_match('/--toc(?!-)/', $val)) $this->enabletoc = 1;
231 if(preg_match('/--toc-level[= ]+([1-5])/', $val, $n)) $this->maxtoclevels = $n[1];
232 if(preg_match('/--encoding[= ]+(\\S+)/', $val, $n)) $this->encoding = $n[1];
233 if(preg_match('/--style[= ]+(\\S+)/', $val, $n))
242 if(! preg_match("/^ *(\"[^\"]+\"|'[^']+'|\\S+)\\s*(.*)$/", $x, $m)) return;
289 if(preg_match('/^("""|```|\'\'\'|%%%) *$/', $line)) { # open area
294 …if($line!='' && $line{0}=='%' && ! preg_match('/^%%(infile|outfile|date|mtime|rand|toc\\s*$)/i', $…
298 if(preg_match('/^("""|```|\'\'\') /', $line, $m)) {
304 …if(preg_match('/^ *((=){1,5})(?!=)\\s*(\\S.*[^=]|[^\\s=])\\1(?:\\[([\\w-]+)\\])?\\s*$/', $line, $m…
305preg_match('/^ *((\\+){1,5})(?!\\+)\\s*(\\S.*[^+]|[^\\s=])\\1(?:\\[([\\w-]+)\\])?\\s*$/', $line, $…
332 if(preg_match('/^ *(\\|\\|?) /', $line, $m)) {
335 if(preg_match('/\\|\\s*$/', $line)) {
349 if(! preg_match('/\\|\\s*$/', $row)) $row .= ' | ';
371 if(preg_match('/^ *(=|-|_){20,}\\s*$/', $line, $m)) {
376 … if(preg_match("/^ +\\[([\034\\w_,.+%$#@!?+~\\/-]+\\.(?:png|jpe?g|gif|bmp|svg))\\] +$/i", $line)) {
436 if(preg_match('/^(\\t+)([^\\t].*)$/', $line, $m)) {
452 if(preg_match('/^( *)([+-]) (\\S.*)$/', $line, $m) ||
453 preg_match( '/^( *)(:) ( *\\S.*)$/', $line, $m)) {
522 if(preg_match('/^(( *)([+-:])) *$/', $line, $m) && $m[1]== "$pspaces$ptype") { # close
543 if(preg_match("/^[\032\033]{2}/", $line)) {