Lines Matching refs:preg_match

151 		if (!preg_match('{^$|^<(p|ul|ol|dl|pre|blockquote)>}i', $text)) {
946 if ($matches[2] == '-' && preg_match('{^-(?: |$)}', $matches[1]))
1033 $list_type = preg_match("/$marker_ul_re/", $matches[4]) ? "ul" : "ol";
1100 preg_match('/\n{2,}/', $item))
1370 if (!preg_match('/^B\x1A[0-9]+B$/', $value)) {
1615 if (preg_match('/^(.*?[^`])'.preg_quote($token).'(?!`)(.*)$/sm',
2079 …if (preg_match('{^\n?([ ]{0,'.($indent+3).'})(~{3,}|`{3,})[ ]*(?:\.?[-_:a-zA-Z0-9]+|'.$this->id_cl…
2083 if (preg_match('{^(?>.*\n)*?[ ]{'.($fence_indent).'}'.$fence_re.'[ ]*(?:\n|$)}', $text,
2110 if (preg_match('{^(?>.+?|\n(?!\n))*?(?<!`)'.$tag_re.'(?!`)}',
2127 else if (preg_match('{^<(?:'.$this->block_tags_re.')\b}', $tag) ||
2128 ( preg_match('{^<(?:'.$this->context_block_tags_re.')\b}', $tag) &&
2129 preg_match($newline_before_re, $parsed) &&
2130 preg_match($newline_after_re, $text) )
2144 else if (preg_match('{^<(?:'.$this->clean_tags_re.')\b}', $tag) ||
2159 preg_match('{^</?(?:'.$enclosing_tag_re.')\b}', $tag))
2247 if (preg_match('/^<([\w:$]*)\b/', $text, $matches))
2280 if (preg_match('{^</?(?:'.$this->auto_close_tags_re.')\b}', $tag) ||
2291 if (preg_match('{^</?'.$base_tag_name_re.'\b}', $tag)) {
2300 preg_match($markdown_attr_re, $tag, $attr_m) &&
2301 preg_match('/^1|block|span$/', $attr_m[2] . $attr_m[3]))
2309 preg_match('{^<(?:'.$this->contain_span_tags_re.')\b}', $tag);
2312 if (preg_match('/(?:^|\n)( *?)(?! ).*?$/', $block_text, $matches)) {
2325 preg_match('/^<([\w:$]*)\b/', $tag, $matches);
2649 if ($matches[3] == '-' && preg_match('{^- }', $matches[1]))
2748 if (preg_match('/^ *-+: *$/', $s)) $attr[$n] = ' align="right"';
2749 else if (preg_match('/^ *:-+: *$/', $s))$attr[$n] = ' align="center"';
2750 else if (preg_match('/^ *:-+ *$/', $s)) $attr[$n] = ' align="left"';
2906 if ($leading_line || preg_match('/\n{2,}/', $def)) {
3026 $is_p = !preg_match('/^B\x1A[0-9]+B|^C\x1A[0-9]+C$/', $value);
3140 if (preg_match('{</p>$}', $footnote)) {