Home
last modified time | relevance | path

Searched refs:match (Results 51 – 75 of 2226) sorted by relevance

12345678910>>...90

/plugin/publist/bib2tpl/
H A Dbibtex_converter.php471 $match = array();
487 if ( $match[2] === '==' ) {
488 $evalcond = $entry[$match[1]] === $match[3];
491 $evalcond = $entry[$match[1]] !== $match[3];
496 && (int)$entry[$match[1]] <= (int)$match[3];
501 && (int)$entry[$match[1]] >= (int)$match[3];
503 elseif ( $match[2] === '~' ) {
504 $evalcond = preg_match('/'.$match[3].'/', $entry[$match[1]]) > 0;
510 $resolved = $match[$then];
512 elseif ( !empty($match[$else]) )
[all …]
/plugin/googledrawing/
H A Dsyntax.php65 public function handle($match, $state, $pos, Doku_Handler $handler){ argument
76 $lines = explode("\n",$match);
82 if(substr($match, 0, 2) == '{{')
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];
94 $match);
96 $data['id'] = $match[1];
97 $data['width'] = $match[2];
[all …]
/plugin/backlinks2/
H A Dsyntax.php65 function handle($match, $state, $pos, Doku_Handler $handler) { argument
67 $match = substr($match, 12, -2);
69 if (strstr($match, "#")) {
70 $includeNS = substr(strstr($match, "#", FALSE), 1);
71 $match = strstr($match, "#", TRUE);
74 return (array($match, $includeNS));
91 $match = $data[0];
92 $match = ($match == '.') ? $id : $match;
93 if (strstr($match, ".:")) {
94 resolve_pageid(getNS($id), $match, $exists);
[all …]
/plugin/bbcode/
H A Dolist.php29 function handle($match, $state, $pos, Doku_Handler $handler) { argument
33 $match = substr($match, 6, -4);
34 $match = preg_split('/\]/u',$match,2);
35 return array($state, $match[0]);
38 return array($state, $match);
52 list($state, $match) = $data;
55 switch ($match) {
75 $match = $renderer->_xmlEntities($match);
76 … $renderer->doc .= str_replace('[*]', '</div></li><li class="level1"><div class="li">', $match);
H A Dquote.php29 function handle($match, $state, $pos, Doku_Handler $handler) { argument
32 $match = explode('"',substr($match, 6, -1));
33 return array($state, $match[1]);
36 return array($state, $match);
50 list($state, $match) = $data;
53 if ($match !== '') $renderer->doc .= '<p><sub>'.$match.':</sub></p>';
58 $match = $renderer->_xmlEntities($match);
59 $renderer->doc .= str_replace("\n",'<br />',$match);
/plugin/codemirror/dist/modes/
H A Didl.min.js1match(";")){a.skipToEnd();return"comment"}if(a.match(/^[0-9\.+-]/,false)){if(a.match(/^[+-]?0x[0-9…
H A Dgherkin.min.js1match(/\s*\|/,false)){b.allowMultilineArgument=false;b.inMultilineTable=false}}}a.eatSpace();if(b.…
H A Dpuppet.min.js1match(/[\w]+/,false);var g=c.match(/(\s+)?\w+\s+=>.*/,false);var h=c.match(/(\s+)?[\w:_]+(\s+)?{/,…
H A Doz.min.js1match(/[{}]/)){return"bracket"}if(a.match(/(\[])/)){return"keyword"}if(a.match(e)||a.match(d)){ret…
H A Dmathematica.min.js1match(h,true,false)){return"number"}if(a.match(i,true,false)){return"number"}if(a.match(/(?:In|Out…
H A Dsoy.min.js1match(/[[]/)){b.soyState.push("list-literal");b.context=new m(b.context,"list-literal",b.variables…
/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/
H A DSimpleTokenParser.php109 if (preg_match('/\s+/A', $str, $match, null, $cursor)) {
110 $cursor += strlen($match[0]);
112 …$class = sprintf('Twig_Extensions_Grammar_%s', ucfirst(isset($match[2]) ? $match[2] : 'Expression'…
116 $grammar->addGrammar(new $class($match[1]));
117 $cursor += strlen($match[0]);
120 $cursor += strlen($match[0]);
121 } elseif (preg_match('/,/A', $str, $match, null, $cursor)) {
123 $cursor += strlen($match[0]);
124 } elseif (preg_match('/\[/A', $str, $match, null, $cursor)) {
125 $cursor += strlen($match[0]);
[all …]
/plugin/dataplot/
H A Dsyntax.php84 $lines = explode("\n", $match);
99 $return['xlabel'] = $match[1];
103 $return['ylabel'] = $match[1];
107 $return['xrange'] = $match[1];
110 $return['yrange'] = $match[1];
116 $return['plottype'] = $match[1];
122 $return['align'] = $match[1];
125 $return['width'] = $match[1];
126 $return['height'] = $match[2];
129 $return['width'] = $match[1];
[all …]
/plugin/move/helper/
H A Dhandler.php199 * @param string $match The text match argument
204 public function camelcaselink($match, $state, $pos) {
205 $oldID = cleanID($this->origNS . ':' . $match);
211 $this->calls .= $match;
215 $this->calls .= "[[$newNS:$match]]";
218 $this->calls .= "[[$newID|$match]]";
227 * @param string $match The text match argument
232 public function internallink($match,
314 media($match, $state, $pos) global() argument
325 rewrite_media($match) global() argument
351 plugin($match, $state, $pos, $pluginname) global() argument
[all...]
/plugin/exttab3/
H A Dsyntax.php96 protected function open($tag, $attr, $pos, $match, $handler) argument
99 $match = array(DOKU_LEXER_ENTER, $tag, $attr);
103 protected function close($tag, $pos, $match, $handler) argument
106 $match = array(DOKU_LEXER_EXIT, $tag, $attr);
113 * @param string $match matched string
116 protected function interpret($match = '') argument
118 $markup = ltrim($match);
179 return $data = $match;
183 list($tag, $attr) = $this->interpret($match);
187 $this->open($tag, $attr, $pos, $match, $handler);
[all …]
/plugin/twcheckliste/
H A Dsyntax.php53 function handle($match, $state, $pos, &$handler) { argument
58 $match = substr($match, 11, -1);
59 if (trim($match) == "angebot") {
68 $html = $this -> replaceTags($match);
69 print_r($match);
77 private function _grepOption(&$options, $tag, &$match) { argument
78 preg_match("/$tag *= *\"([^\"]*)\" ?/i", $match, $text);
80 $match = str_replace($text[0], '', $match);
97 $title = trim($match[0]);
127 function replaceTags($match) { argument
[all …]
/plugin/cssperpage/
H A Dsyntax.php40 function handle($match, $state, $pos, Doku_Handler $handler){ argument
42 if(preg_match("/~~cssp_(.*?)_openDIV/",$match,$matches)) {
44 $match = $class . ';' . 'openDIV';
46 else $match = substr($match,7,-2);
49 return array($state, $match);
57 list($state,$match) = $data;
61 list($class,$rest) = explode(';',$match);
63 $match = 'openDIV';
68 if($match == 'openDIV') {
71 elseif($match == 'closeDIV') {
/plugin/syntaxhighlighter3/sxh3/pkg/scripts/
H A DshCore.js56 match: String.prototype.match, property in AnonymousFunction5b121b410100.nativ
246 if (match && match.index === pos) {
249 match: match property in AnonymousFunction5b121b410100.result
939 match[name] = match[i];
1460 return match ? match[1] : null;
2040 pos = match.index + match[0].length;
2305 pos = match.index + match[0].length;
2512 offset = match.index + match.left.length,
2537 offsetMatches(result, match.index + match[0].lastIndexOf(match.right));
2804 if (match === null || match.length === 0)
[all …]
/plugin/codedoc/
H A Dblock.php38 function handle($match, $state, $pos, Doku_Handler $handler){ argument
43 $type = strtolower(trim(substr($match,8,-1)));
53 return array($state, $match);
55 return array($state,$match);
59 return array($state,$match);
67 list($state, $match) = $data;
73 if(preg_match('/^(toggle)(.*)/',$match, $matches)) {
76 $match = $matches[1]; // class
95 if(strpos($match,':') != false) {
96 list($match, $this->geshi) = explode(':',$match);
[all …]
/plugin/publistf/bib2tpl/
H A Dbibtex_converter.php497 $match = array();
513 if ( $match[2] === '==' ) {
514 $evalcond = $entry[$match[1]] === $match[3];
517 $evalcond = $entry[$match[1]] !== $match[3];
522 && (int)$entry[$match[1]] <= (int)$match[3];
527 && (int)$entry[$match[1]] >= (int)$match[3];
529 elseif ( $match[2] === '~' ) {
530 $evalcond = preg_match('/'.$match[3].'/', $entry[$match[1]]) > 0;
536 $resolved = $match[$then];
538 elseif ( !empty($match[$else]) )
[all …]
/plugin/publistx/bib2tpl/
H A Dbibtex_converter.php492 $match = array();
508 if ( $match[2] === '==' ) {
509 $evalcond = $entry[$match[1]] === $match[3];
512 $evalcond = $entry[$match[1]] !== $match[3];
517 && (int)$entry[$match[1]] <= (int)$match[3];
522 && (int)$entry[$match[1]] >= (int)$match[3];
524 elseif ( $match[2] === '~' ) {
525 $evalcond = preg_match('/'.$match[3].'/', $entry[$match[1]]) > 0;
531 $resolved = $match[$then];
533 elseif ( !empty($match[$else]) )
[all …]
/plugin/gchart/
H A Dsyntax.php56 * Handle the match
58 public function handle($match, $state, $pos, Doku_Handler $handler)
76 $lines = explode("\n", $match);
81 if (preg_match('/"([^"]+)"/', $conf, $match)) {
82 $return['title'] = $match[1];
85 if (preg_match('/\b(left|center|right)\b/i', $conf, $match)) {
86 $return['align'] = strtolower($match[1]);
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)) {
60 handle($match, $state, $pos, Doku_Handler $handler) global() argument
[all...]
/plugin/nodisp/syntax/
H A Dbasic.php22 function handle($match, $state, $pos, Doku_Handler $handler){ argument
33 if(preg_match("/nodisp\s+(\w+|\d+)(>|\})/",$match,$m) ){
39 case DOKU_LEXER_UNMATCHED : return array($state, $match);
53 list($state, $match) = $data;
57 $renderer->doc .= $match;
59 … case DOKU_LEXER_UNMATCHED : $renderer->doc .= $renderer->_xmlEntities($match); break;
71 function getLevel($match) { argument
73 if(is_numeric($match)) {
74 return $match;
79 if(in_array($match,$user_groups)) {
[all …]
/plugin/gcalendar/inc/
H A Dgcal_read.php200 $d=$match[1];$m=$match[2];$y=$match[3];
202 $d=$match[2];$m=$match[1];$y=$match[3];
204 $d=$match[3];$m=$match[2];$y=$match[1];
232 if(preg_match($pattern,$text, $match)) {
236 if(strlen($match[1])==1) $match[1] = '0'.$match[1];
237 if(strtolower($match[3])=='pm') $match[1] += 12;
238 $euro = $match[1].":".$match[2];
255 if(preg_match($pattern,$text, $match)) {
256 $text=trim($match[1].substr($text,strlen($match[0])));
257 return strtoupper($match[1]);
[all …]
/plugin/abbr/syntax/
H A Dabbreviation.php32 public function handle($match, $state, $pos, Doku_Handler $handler) { argument
34 $match = substr($match, 6,-7); // drop markup
35 if (preg_match("/^short>/", $match)) {
37 $match = substr($match, 6);
42 if (preg_match("/(^.*)((((?>[^()]+)|(?R))*))$/u", $match, $matches)) {
46 } elseif (preg_match("/(^.*)\((((?>[^\(\)]+)|(?R))*)\)$/", $match, $matches)) {
51 } elseif (preg_match("/(^.*)\[(((?>[^\[\]]+)|(?R))*)\]$/", $match, $matches)) {
56 } elseif (strpos($match,'|') !== false) {
59 list($shortened, $phrase) = explode('|',$match,2);
65 $shortened = trim($match);

12345678910>>...90