/plugin/shell/ |
H A D | P0wnyShell.php | 24 if (preg_match("#^(~[a-zA-Z0-9_.-]*)(/.*)?$#", $path, $match)) { 107 if (preg_match("/^\s*cd\s*(2>&1)?$/", $cmd)) { 109 } elseif (preg_match("/^\s*cd\s+(.+)\s*(2>&1)?$/", $cmd)) { 111 preg_match("/^\s*cd\s+(\S+)\s*(2>&1)?$/", $cmd, $match); 113 } elseif (preg_match("/^\s*download\s+\S+\s*(2>&1)?$/", $cmd)) { 115 preg_match("/^\s*download\s+(\S+)\s*(2>&1)?$/", $cmd, $match); 293 if (!preg_match('/2>/', $cmd)) {
|
/plugin/bugzillaint/syntax/ |
H A D | tree.php | 56 if ( preg_match('/<[Bb]ugtree\s+([0-9]+)[^>]*>/', $match, $submatch) ) { 59 …'depth' => preg_match('/depth:([0-9])/i', $match, $found) ? $found[1] : $this->getConf('tree_depth… 60 'hideResolved' => !!preg_match('/hideResolved/i', $match, $found), 61 …'extras' => preg_match('/extras:([a-z_,]+)/i', $match, $found) ? trim($found[1]) : $this->getConf(…
|
/plugin/distributedacl/ |
H A D | action.php | 41 if ( !$event->data[3] && preg_match( "/^$ACLNAMESPACE(.+)$/", $event->data[1], $c ) ) { 68 if ( ! preg_match( $matchexclude, $confaclline ) ) { 76 if ( ! preg_match( "/^#\s+acl.auth.php/", $newconfacl ) ) { 86 if ( preg_match( "/^\s*([^:]+)\s*:\s*(\S+)/", $line, $c ) && isset($permarr[$c[1]]) ) { 91 if ( ! preg_match( "/[a-zA-Z0-9]/", $u[$j] ) ) {
|
/plugin/googledrawing/ |
H A D | syntax.php | 84 if(preg_match('/\bgdraw>([^ ]+?) /i',$conf,$match)) $data['id'] = $match[1]; 85 if(preg_match('/\b(left|center|right)\b/i',$conf,$match)) $data['align'] = $match[1]; 86 if(preg_match('/\btitle="([^"]+?)"/i',$conf,$match)) $data['title'] = $match[1]; 87 … if(preg_match('/\b(width|height)=([^\b\}]+?)(\b|})/i',$conf,$match)) $data[$match[1]] = $match[2]; 92 …preg_match("/{$baseUrl}drawings\\/(?:[a-z]+\\?id=|d\\/)([^\\/\\&]+)(?:\\/edit)?(?:\\&w=([0-9]+))?(…
|
/plugin/iframeinterwiki/ |
H A D | syntax.php | 54 if(preg_match('/\[?(\d+(em|%|pt|px)?)\s*([,xX]\s*(\d+(em|%|pt|px)?))?\]?/',$param,$matches)){ 69 if(preg_match('/noscroll(bars?|ing)?/',$param)){ 72 if(preg_match('/no(frame)?border/',$param)){ 75 if(preg_match('/(left|right)/',$param,$matches)){ 87 preg_match("/^\s*?(.+?)\s+(.+?)$/i", $line, $matches);
|
/plugin/diff/ |
H A D | syntax.php | 114 if (preg_match('|^\n(\*{5,})|', 118 } else if (preg_match('|^\n(\x2A{3}\s[^\n]*)(.*)|s', 339 if (preg_match( 343 } else if (preg_match( 347 } else if (preg_match( 352 } else if (preg_match(
|
/plugin/adhoctags/ |
H A D | helper.php | 96 if (preg_match('/^data-[a-z][a-z0-9_-]*$/', $key)) {
101 if (preg_match('/^aria-[a-z]+$/', $key)) {
144 if (preg_match('/^:([a-z\-]+)/', $token)) {
150 if (preg_match('/^#([A-Za-z]\w+)/', $token)) {
156 if (preg_match('/^\"(.*)\"$/', $token)) {
162 if (preg_match('/^\[([^\]]+)\]$/', $token)) {
173 if (preg_match('/^[\w\d\-\\_]*$/',$token)) {
|
/plugin/publist/bib2tpl/ |
H A D | bibtex_converter.php | 181 if ( preg_match('/@\{group@/s', $template) + preg_match('/@\}group@/s', $template) < 2 ) { 245 $keep = $keep && preg_match('/'.$regexp.'/i', $val); 352 preg_match($pattern, $result, $group_tpl); 364 preg_match($pattern, $result, $group_tpl); 403 preg_match($pattern, $result, $entry_tpl); 414 preg_match($pattern, $result, $entry_tpl); 478 while ( preg_match($pattern, $string, $match) ) 504 $evalcond = preg_match('/'.$match[3].'/', $entry[$match[1]]) > 0;
|
/plugin/farm/ |
H A D | soapconfig.class.php | 75 …foreach(explode("\n", trim($p)) as $f) if(preg_match('`^name\s*=\s*([^#]+)(#.*)?$`i', trim($f), $m… 107 …$pwd = preg_match('`^[0-9abcdef]{32}$`i', $_POST['soap_remoteapp_pwd']) ? strtolower($_POST['soap_… 147 …foreach(explode("\n", trim($p)) as $f) if(preg_match('`^name\s*=\s*([^#]+)(#.*)?$`i', trim($f), $m… 263 if(preg_match('`^(name|pwd)\s*=\s*([^#]+)(#(.*))?$`i', trim($f), $m)) { 269 if(preg_match('`^allowed\s*=\s*([^#]+)(#(.*))?$`i', trim($f), $m)) { 275 while(preg_match('`^([^(,]+)(\(([^)]+)\))?(\s*,\s*(.*))?$`', $list, $m)) { 287 …if(preg_match('`^\[[^]]+\]$`', $o[1])) $o[1] = array_map('trim', explode(',', substr($o[1], 1, -1)… 288 elseif(preg_match('`^[0-9]+$`', $o[1])) $o[1] = (int)$o[1]; 289 elseif(preg_match('`^[0-9]+\.[0-9]+$`', $o[1])) $o[1] = (float)$o[1]; 290 elseif(preg_match('`^(true|false)$`i', $o[1])) $o[1] = (strtolower($o[1]) == 'true'); [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/src/ |
H A D | Lexer.php | 191 … if (preg_match($this->regexes['lex_block_raw'], $this->code, $match, null, $this->cursor)) { 195 …} elseif (preg_match($this->regexes['lex_block_line'], $this->code, $match, null, $this->cursor)) { 238 if (preg_match('/\s+/A', $this->code, $match, null, $this->cursor)) { 247 if (preg_match($this->regexes['operator'], $this->code, $match, null, $this->cursor)) { 252 elseif (preg_match(self::REGEX_NAME, $this->code, $match, null, $this->cursor)) { 257 elseif (preg_match(self::REGEX_NUMBER, $this->code, $match, null, $this->cursor)) { 287 elseif (preg_match(self::REGEX_STRING, $this->code, $match, null, $this->cursor)) { 292 elseif (preg_match(self::REGEX_DQ_STRING_DELIM, $this->code, $match, null, $this->cursor)) { 325 …if (!preg_match($this->regexes['lex_comment'], $this->code, $match, PREG_OFFSET_CAPTURE, $this->cu… 334 … if (preg_match($this->regexes['interpolation_start'], $this->code, $match, null, $this->cursor)) { [all …]
|
/plugin/lang/ |
H A D | syntax.php | 165 if (preg_match('|\s+([a-z]{2,3})\s*>|i', $aMatch, $hits)) { 169 if (preg_match('|\s+([a-z]{2,3}\-[a-z0-9]{2,})\s*>|i', 174 if (preg_match('|\s+([ix]\-[a-z0-9]{2,})\s*>|i', $aMatch, $hits)) { 178 if (preg_match('|\s+([a-z]{2,3})\-.*\s*>|i', $aMatch, $hits)) {
|
/plugin/gchart/ |
H A D | syntax.php | 81 if (preg_match('/"([^"]+)"/', $conf, $match)) { 85 if (preg_match('/\b(left|center|right)\b/i', $conf, $match)) { 88 if (preg_match('/\b(legend)\b/i', $conf, $match)) { 91 if (preg_match('/\b(values?)\b/i', $conf, $match)) { 94 if (preg_match('/\b(\d+)x(\d+)\b/', $conf, $match)) { 100 if (preg_match($type_regex, $conf, $match)) {
|
/plugin/bibtex/OSBib/format/ |
H A D | PARSESTYLE.php | 38 preg_match("/(.*)(?<!`|[a-zA-Z])($search)(?!`|[a-zA-Z])(.*)/", $subject, $array); 59 if(preg_match("/%(.*)%(.*)%|%(.*)%/U", $pre, $dependent)) 77 if(preg_match("/%(.*)%(.*)%|%(.*)%/U", $post, $dependent)) 92 if(preg_match("/\^(.*)\^(.*)\^/U", $pre, $matchCarat)) 98 else if(preg_match("/\^(.*)\^(.*)\^/U", $post, $matchCarat))
|
/plugin/linkback/action/ |
H A D | antispam.php | 78 if (preg_match($regex, $excerpt) > $this->getConf('antispam_linkcount_max')) 119 if (!preg_match($regex, $page['body'], $match) && !preg_match($regex2, $page['body'], $match)) { 126 if (!preg_match($regex, $page['body'], $match) && !preg_match($regex2, $page['body'], $match))
|
/plugin/adhocmathml/ |
H A D | abstract.php | 35 return preg_match('/^[\w\d,\(\)#\% \/]+$/', trim($value)); 39 return preg_match('/^[\w\d\%]+$/', trim($value)); 47 return preg_match('/^[+-]?[\d]+$/', trim($value));
|
/plugin/abbr/syntax/ |
H A D | abbreviation.php | 35 if (preg_match("/^short>/", $match)) { 42 if (preg_match("/(^.*)((((?>[^()]+)|(?R))*))$/u", $match, $matches)) { 46 } elseif (preg_match("/(^.*)\((((?>[^\(\)]+)|(?R))*)\)$/", $match, $matches)) { 51 } elseif (preg_match("/(^.*)\[(((?>[^\[\]]+)|(?R))*)\]$/", $match, $matches)) {
|
/plugin/iframe/ |
H A D | syntax.php | 47 if(preg_match('/\[?(\d+(em|%|pt|px)?)\s*([,xX]\s*(\d+(em|%|pt|px)?))?\]?/',$param,$matches)){ 62 if(preg_match('/noscroll(bars?|ing)?/',$param)){ 65 if(preg_match('/no(frame)?border/',$param)){ 68 if(preg_match('/fullscreen/',$param)){ 71 if(preg_match('/(left|right)/',$param,$matches)){
|
/plugin/sympaauth/ |
H A D | admin.php | 127 if(preg_match('!\$conf\[\'authtype\'\] *= *.*!', $line)) { 130 if(preg_match('!\$conf\[\'authtype\'\] *= *[\'"]sympa[\'"]!', $value)) return true; 163 …if(preg_match('!\$conf\[\'plugin\'\]\[\'sympaauth\'\]\[\[\'sympaSoapService\'\] *= *.*!', $lines[$… 164 } while (!(preg_match('!local.protected.php!', $lines[$i++]) || feof($local_handle)) ); 171 …if(preg_match('!\$conf\[\'plugin\'\]\[\'sympaauth\'\]\[\[\'sympaSoapService\'\] *= *.*!', $lines[$… 231 …if(preg_match('!\$conf\[\'plugin\'\]\[\'sympaauth\'\]\[\[\'sympaSoapService\'\] *= *.*!', $lines[$… 275 if(!preg_match('!\$lang\[\'\w{1,}\'\] *= *.*!', $lines[$i])) unset($lines[$i--]); 310 if(preg_match('!sympa!i', $lines[$i])) unset($lines[$i--]);
|
/plugin/hidden/ |
H A D | syntax.php | 71 preg_match("/initialState *= *\"([^\"]*)\" ?/i", $match, $initialState); 83 if ( preg_match('/-noprint/i', $match, $found) ){ 89 if ( preg_match('/-edit(able)?( *= *"([^"]*)")?/i', $match, $found) ){ 98 preg_match("/active *= *\"([^\"]*)\" ?/i", $match, $active); 108 preg_match("/element *= *\"([^\"]*)\" ?/i", $match, $element); 151 preg_match("/$tag *= *\"([^\"]*)\" ?/i", $match, $text); 202 if ( preg_match("/^[ \t]*={2,}[^\n]+={2,}[ \t]*$/", $text, $match) ){
|
/plugin/geotag/syntax/ |
H A D | geotag.php | 74 preg_match("(lat[:|=]-?\d*\.\d*)", $tags, $lat); 75 preg_match("(lon[:|=]-?\d*\.\d*)", $tags, $lon); 76 preg_match("(alt[:|=]-?\d*\.?\d*)", $tags, $alt); 77 preg_match("/(region[:|=][\p{L}\s\w'-]*)/u", $tags, $region); 78 preg_match("/(placename[:|=][\p{L}\s\w'-]*)/u", $tags, $placename); 79 preg_match("/(country[:|=][\p{L}\s\w'-]*)/u", $tags, $country); 80 preg_match("(hide|unhide)", $tags, $hide);
|
/plugin/calendoku/ |
H A D | helper.php | 16 if (!preg_match('/^BEGIN:VEVENT/', $text)) 19 if (!preg_match('/END:VEVENT$/', $text)) 35 if (preg_match('/^ /', $line)) { 367 if (preg_match('/^'.$rexu.$rexsep.'$/', $datestr)) { 376 if (preg_match('/^'.$rexd.'\.'.$rexm.'\.'.$rexy.$rexsep.'/', $datestr, $match)) { 382 } else if (preg_match('/^'.$rexd.'\.'.$rexm.$rexsep.'/', $datestr, $match)) { 394 } else if (preg_match('/^'.$rexy.'-'.$rexm.$rexsep.'/', $datestr, $match)) { 400 } else if (preg_match('/^'.$rexy.$rexm.$rexd.$rexsep.'/', $datestr, $match)) { 405 } else if (preg_match('/^'.$rexy.$rexsep.'/', $datestr, $match)) { 416 if (preg_match('/^'.$rexH.':'.$rexM.$rexend.'$/', $datestr, $match)) { [all …]
|
/plugin/floatdiv/syntax/ |
H A D | float.php | 58 preg_match('/(right|left)/i', $matches[0],$side); 59 preg_match('/width=([0-9]+)/i', $matches[0],$width); 60 preg_match('/size=([0-9]+)/i', $matches[0], $size); 61 preg_match('/background=#([0-9a-fA-F]{6})/i', $matches[0], $background);
|
/plugin/webcomics/ |
H A D | syntax.php | 28 if (preg_match('/(.*?)="(.*?)"/', $feed, $matches) == 1) { 66 preg_match('/src="(.*?)"/', (string) $xml->channel->item->description, $matches); 71 … if (preg_match('/title="(.*?)"/', (string) $xml->channel->item->description, $matches) == 1) { 74 … if (preg_match('/alt="(.*?)"/', (string) $xml->channel->item->description, $matches) == 1) {
|
/plugin/farm/install/ |
H A D | preload.php | 56 if(preg_match('`^\s*([^\s]+)\s+([^\s#]+)`', $l, $m)) { 61 …$p = isset($_SERVER['HTTPS']) ? ((!preg_match('`off`i', $_SERVER['HTTPS']) && $_SERVER['HTTPS']) ?… 71 if(!preg_match('`^[a-z0-9\_\.\-]+$`i', $animal)) $animal = null; 81 if(preg_match('`^\s*([^\s]+)\s+:\s+([^\s]+)`', $l, $m)) { 93 if(preg_match('`^([^:]+://)?([^/]+)?/?(.*)$`i', $wr, $m)) $wr = $m[3];
|
/plugin/seqdia/ |
H A D | syntax.php | 68 if(preg_match('/\b(left|center|right)\b/i',$conf,$match)) $return['align'] = $match[1]; 69 if(preg_match('/\b(\d+)x(\d+)\b/',$conf,$match)){ 73 …if(preg_match('/\b(default|rose|qsd|napkin|vs2010|mscgen|omegapple|modern-blue|earth|roundgreen)\b… 76 if(preg_match('/\bwidth=([0-9]+)\b/i', $conf,$match)) $return['width'] = $match[1]; 77 if(preg_match('/\bheight=([0-9]+)\b/i', $conf,$match)) $return['height'] = $match[1];
|