/plugin/permissioninfo/ |
H A D | admin.php | 232 if(preg_match('/^[^\s]+\s([^@\s]+)/', $a, $matches)) 235 $users[$matches[1]] = $usr_arr; 257 if(preg_match('/^[^\s]+\s@([^\s]+)/', $a, $matches)) 259 $grp_arr = array('name' => $matches[1]); 260 $groups[urldecode($matches[1])] = $grp_arr; 280 $gp[$matches[2]][$matches[1]] = $matches[3]; 305 $up[$matches[2]][$matches[1]] = $matches[3]; 366 if(preg_match($perm_regex, $a, $matches)) 369 $up[$ns] = (empty($up[$matches[1]])?0:$up[$matches[1]]) | $matches[3]; 370 if(substr($matches[2], 0, 1) != "@") [all …]
|
/plugin/bookmarkfile/ |
H A D | syntax.php | 63 preg_match('/ file="(.*?)"/', $match, $matches); 66 preg_match('/ separators="(.*?)"/', $match, $matches); 67 $separators = $matches[1]; 69 preg_match('/ folder="(.*?)"/', $match, $matches); 70 $folder = $matches[1]; 218 $item ['title'] = $matches[1]; 222 $item ['title'] = $matches[1]; 226 $item ['title'] = $matches[2]; 227 $item ['uri'] = $matches[1]; 229 } else if (preg_match('/\<DL>/', $sLine, $matches) == 1) { [all …]
|
/plugin/epub/scripts/ |
H A D | ebook.php | 81 function($matches) use($R) { 82 if(strpos( $matches[1],'?') !== false) { 83 list($pre, $img) = explode('=', $matches[1]); 85 else $img = basename($matches[1]); 96 function($matches) { 97 …if(strpos($matches[0], 'http') !== false) return $matches[0]; //External link, no conversioon ne… 98 $matches[0]= preg_replace_callback( 110 },$matches[0]); 111 return $matches[0]; 123 function($matches) { [all …]
|
/plugin/abbr/syntax/ |
H A D | abbreviation.php | 42 if (preg_match("/(^.*)((((?>[^()]+)|(?R))*))$/u", $match, $matches)) { 44 $shortened = $matches[2]; 45 $phrase = $matches[1]; 46 } elseif (preg_match("/(^.*)\((((?>[^\(\)]+)|(?R))*)\)$/", $match, $matches)) { 49 $shortened = $matches[2]; 50 $phrase = rtrim($matches[1]); 51 } elseif (preg_match("/(^.*)\[(((?>[^\[\]]+)|(?R))*)\]$/", $match, $matches)) { 54 $shortened = rtrim($matches[1]); 55 $phrase = $matches[2];
|
/plugin/html2pdf/html2pdf/html2ps/ |
H A D | font.class.php | 175 $glyph_width = $matches[1]; 176 $glyph_name = $matches[2]; 185 } elseif (preg_match("/UnderlinePosition ([\d-]+)/",$line,$matches)) { 187 $this->underline_position = $matches[1]; 189 } elseif (preg_match("/UnderlineThickness ([\d-]+)/",$line,$matches)) { 191 $this->underline_thickness = $matches[1]; 193 } elseif (preg_match("/Ascender ([\d-]+)/",$line,$matches)) { 195 $this->ascender = $matches[1]; 197 } elseif (preg_match("/Descender ([\d-]+)/",$line,$matches)) { 199 $this->descender = $matches[1]; [all …]
|
H A D | css.rules.page.inc.php | 186 $data = $matches[2]; 200 $raw_selector = trim($matches[1]); 201 $css = trim($matches[2]); 212 $raw_prefix = trim($matches[1]); 213 $raw_token = trim($matches[2]); 214 $raw_suffix = trim($matches[3]); 287 $raw_margin_box_selector = trim($matches[1]); 288 $css = trim($matches[2]); 298 $raw_prefix = trim($matches[1]); 299 $raw_token = trim($matches[2]); [all …]
|
H A D | xhtml.style.inc.php | 7 if (preg_match('#^(.*)(<style[^>]*>)(.*?)(</style>)(.*)$#is', $html, $matches)) { 8 $styles = array_merge(array($matches[2].process_style_content($matches[3]).$matches[4]), 9 process_style($matches[5])); 10 $html = $matches[1].$matches[5];
|
H A D | css.ruleset.class.php | 117 $head = $matches[1]; 118 $media = $matches[2]; 119 $rest = $matches[3]; 130 $content = $matches[1]; 131 $tail = $matches[2]; 177 $this->css_import(trim($matches[1]), $pipeline); 181 } elseif (preg_match("/@import\s+(.*);/",$import, $matches)) { 197 $this->parse_css_import($matches[0][$i], $pipeline); 206 $css = $matches[3]; 209 $raw_selectors = $matches[1]; [all …]
|
H A D | xhtml.p.inc.php | 25 …tch("#^(.*?)(<\s*p(\s+[^>]*?)?>)(.*?)($open|$close)#is",substr($sample_html, $offset), $matches)) { 26 if (!preg_match("#<\s*/\s*p\s*>#is",$matches[3])) { 27 $cutpos = $offset + strlen($matches[1]) + strlen($matches[2]) + strlen($matches[4]); 31 $offset += strlen($matches[1])+1;
|
/plugin/publist/ |
H A D | syntax.php | 39 $matches = array(); 41 if ( 0 === preg_match($pattern, $match, $matches) ) { 45 $data['bibtex'] = array('type' => $matches[1], 'ref' => $matches[2]); 46 … $data['template'] = array('target' => $matches[3], 'type' => $matches[4], 'ref' => $matches[5]); 61 if ( !empty($matches[6]) ) { 62 $matches = explode('|', $matches[6]); 63 foreach ( $matches as $opt ) {
|
/plugin/floatdiv/syntax/ |
H A D | float.php | 50 $matches = preg_split('/\]/u',$match,2); 51 if (trim($matches[0]) == ''){ 52 $matches[0]=NULL; 55 $matches[0] = trim($matches[0]); 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/mdpage/vendor/cebe/markdown/inline/ |
H A D | CodeTrait.php | 21 if (preg_match('/^(``+)\s(.+?)\s\1/s', $text, $matches)) { // code with enclosed backtick 25 $matches[2], 27 strlen($matches[0]) 29 } elseif (preg_match('/^`(.+?)`/s', $text, $matches)) { 33 $matches[1], 35 strlen($matches[0])
|
/plugin/publistx/ |
H A D | syntax.php | 39 $matches = array(); 41 if ( 0 === preg_match($pattern, $match, $matches) ) { 45 $data['bibtex'] = array('type' => $matches[1], 'ref' => $matches[2]); 46 … $data['template'] = array('target' => $matches[3], 'type' => $matches[4], 'ref' => $matches[5]); 62 if ( !empty($matches[6]) ) { 63 $matches = explode('|', $matches[6]); 64 foreach ( $matches as $opt ) {
|
/plugin/swiftmail/Swift/Message/ |
H A D | Encoder.php | 58 if (!empty($matches[1])) $ret[($elements++)] = $matches[1]; 59 $ret[('a' . ($elements++))] = $matches[2]; 60 $input = substr($input, strlen($matches[0])); 78 if (!empty($matches[1])) $ret[($elements++)] = $matches[1]; 79 $ret[('a' . ($elements++))] = $matches[2]; 80 $input = substr($input, strlen($matches[0])); 207 $string = substr($string, strlen($matches[0])); 214 || (strlen($string) > 0 && $matches = array($string))) 217 $string = substr($string, strlen($matches[0])); 435 preg_match_all('~.{1,'.($chunk-6).'}([^%]{0,3})~', $str, $matches); [all …]
|
/plugin/publistf/ |
H A D | syntax.php | 40 $matches = array(); 42 if ( 0 === preg_match($pattern, $match, $matches) ) { 46 $data['bibtex'] = array('type' => $matches[1], 'ref' => $matches[2]); 47 … $data['template'] = array('target' => $matches[3], 'type' => $matches[4], 'ref' => $matches[5]); 63 if ( !empty($matches[6]) ) { 64 $matches = explode('|', $matches[6]); 65 foreach ( $matches as $opt ) {
|
/plugin/bibtex4dw/syntax/ |
H A D | bibtex.php | 53 // $matches[0] is the parameters <bibtex [parameters]> 54 // $matches[1] is the text inside the block <bibtex [parameters]> </bibtex> 55 $matches = preg_split('/>/u', $match, 2); 56 $matches[0] = trim($matches[0]); 57 if ( trim($matches[0]) == '' ) { 58 $matches[0] = NULL; 60 return array($state, $matches[0], $matches[1], $pos); 91 $matches [all...] |
/plugin/findologicxmlexport/vendor/phpdocumentor/reflection-common/src/ |
H A D | Fqsen.php | 40 $matches = array(); 44 $matches 55 if (isset($matches[2])) { 56 $this->name = $matches[2]; 58 $matches = explode('\\', $fqsen); 59 $this->name = trim(end($matches), '()');
|
/plugin/bureaucracyau/helper/ |
H A D | fielduser.php | 43 public function replacementValueCallback($matches) { argument 49 if (!isset($matches[2])) { 52 $attr = $matches[2]; 57 return $matches[0]; 66 if (isset($matches[3])) { 67 $delitmiter = $matches[3]; 71 return $matches[0];
|
/plugin/fckg/fckeditor/editor/dialog/ |
H A D | get_headers.php | 21 if (preg_match('/^=+([^=]+)=+\s*$/',$line,$matches)) { 24 if(isset($headers[$matches[1]])) { 25 $headers[$matches[1]]++; 26 $suffix_anchor = $headers[$matches[1]]; 30 $headers[$matches[1]]=0; 33 $resp .= trim($matches[1]) . $suffix_header . ";;" ; 34 $resp .= cleanID($matches[1]). $suffix_anchor . "@@" ;
|
/plugin/bureaucracy-au/helper/ |
H A D | fielduser.php | 43 public function replacementValueCallback($matches) { argument 49 if (!isset($matches[2])) { 52 $attr = $matches[2]; 57 return $matches[0]; 66 if (isset($matches[3])) { 67 $delitmiter = $matches[3]; 71 return $matches[0];
|
/plugin/bureaucracy/helper/ |
H A D | fielduser.php | 43 public function replacementValueCallback($matches) { argument 49 if (!isset($matches[2])) { 52 $attr = $matches[2]; 57 return $matches[0]; 66 if (isset($matches[3])) { 67 $delitmiter = $matches[3]; 71 return $matches[0];
|
/plugin/tagging/action/ |
H A D | elasticsearch.php | 98 preg_match_all('/(?:#)(\w+)/u', $QUERY, $matches); 99 if (isset($matches[1])) { 100 $matches[1] = array_map([$hlp, 'cleanTag'], $matches[1]); 101 $INPUT->set('tagging', array_merge($matches[1], $taggingFilter)); 107 $additions = array_map(function ($tag) use ($matches) { 108 if (!isset($matches[1]) || !in_array($tag, $matches[1])) {
|
/plugin/ldapsearch/ |
H A D | syntax.php | 56 $matches = array(); 57 if(preg_match("/$urlSyntax/",$match,$matches)) { 59 'hostname' => $matches[1], 60 'port' => $matches[2], 61 'basedn' => $matches[3], 62 'attributes' => explode(",",$matches[4]), 63 'scope' => $matches[5], 64 'filter' => $matches[6], 68 } elseif(preg_match_all("/$paramSyntax/",$match,$matches, PREG_SET_ORDER)) { 70 foreach($matches as $pair) {
|
/plugin/block/ |
H A D | syntax.php | 88 if(preg_match('/(\d+)\%?:(\d+|r|c):(.*)/',$val, $matches)) { 89 $width = $matches[1] .'%'; 91 if($matches[2] == 'r') { 95 elseif($matches[2]> 0) { 96 $margin = ' margin-left: ' . $matches[2] . 'px'; 98 $color = $matches[3]; 117 elseif(preg_match('/(\d+)\%?:(\d+)/',$val, $matches)) { 118 $width = $matches[1] .'%'; 119 if($matches[2]> 0) $margin = ' margin-left: ' . $matches[2] . 'px';
|
/plugin/autonumbering/ |
H A D | syntax.php | 84 if (preg_match('/~~(.*?)~~/', $match, $matches)) { 85 $data = $matches[1]; 89 if (preg_match('/@(' . $this->COUNTER_ID_PATTERN . ')/', $data, $matches)) { 90 $counterID = $matches[1]; 113 … } else if (preg_match('/(' . $this->NUMBER_PATTERN . ')/', $dataTab[$i], $matches)) 115 $COUNTER[$counterID][$i] = $matches[1]-1; 117 $COUNTER[$counterID][$i] = $matches[1]; 169 $qtyOccurrences = preg_match_all('/~~(.*?)~~/', $pageContent, $matches); 172 … list($number, $null) = $this->handle($matches[0][$i], DOKU_LEXER_SPECIAL, NULL, $handler); 173 $pageContent = preg_replace('(' . $matches[0][$i] . ')', $number, $pageContent, 1);
|