/plugin/linkback/exe/ |
H A D | pingback.php | 75 // Target URL does not match with request? Quit 170 if (!preg_match($regex, $page['body'], $match) && !preg_match($regex2, $page['body'], $match)) { 177 if (!preg_match($regex, $page['body'], $match) && !preg_match($regex2, $page['body'], $match)) 183 $linkback['raw_excerpt'] = '[...] ' . $match[1] . ' [...]'; 184 $linkback['excerpt'] = '[...] ' . strip_tags($match[1]) . ' [...]'; 187 if (!preg_match($regex, $page['body'], $match)) 189 $linkback['title'] = strip_tags($match[1]);
|
/plugin/refnotes/ |
H A D | bibtex.php | 357 public function outside($match, $state) { argument 365 public function entry($match, $state) { argument 368 $this->entry = new refnotes_bibtex_entry(preg_replace('/@(\w+)\W+/', '$1', $match)); 372 $this->entry->handleUnmatched($match); 387 public function field($match, $state) { argument 390 $this->field = new refnotes_bibtex_field(preg_replace('/\W*(\w[\w-]+)\W*/', '$1', $match)); 394 $this->field->addToken('unmatched', $match); 409 public function integer_value($match, $state) { argument 410 $this->field->addToken('integer', $match); 418 public function string_value($match, argument 429 nested_braces($match, $state) global() argument 440 concatenation($match, $state) global() argument [all...] |
/plugin/subjectindex/plugins/ |
H A D | EntryTag.php | 21 function match($text) { function in SI_EntryTag 26 foreach ($matches as $match) { 28 $tag = $match[1]; 33 $item['star'] = $match[2] == '*' ? true : false;
|
/plugin/elasticsearch/vendor/ruflin/elastica/src/Query/ |
H A D | SpanMulti.php | 18 * @param AbstractQuery|array $match 20 public function __construct($match = null) argument 22 if (null !== $match) { 23 $this->setMatch($match); 36 return $this->_setQuery('match', $args);
|
/plugin/datapopup/ |
H A D | script.js | 40 var match = href.replace(/\//g, ':').match(regex[i]); 41 if (!match) continue; 43 $link.datapopup_name = match[1]; 44 $link.datapopup_link = match[0];
|
/plugin/google_cal/ |
H A D | syntax.php | 30 function handle($match, $state, $pos, Doku_Handler $handler){ argument 31 if(preg_match('/{{cal>(.*)/', $match)) { // Hook for future features 33 $match = html_entity_decode(substr($match, 6, -2)); 34 @list($url, $alt) = explode('|',$match,2);
|
/plugin/webcomponent/syntax/ |
H A D | group.php | 98 * @param string $match 104 function handle($match, $state, $pos, Doku_Handler $handler) argument 112 $match = utf8_substr($match, strlen(self::getElementName()) + 1, -1); 113 $parameters = webcomponent::parseMatch($match);
|
H A D | unit.php | 96 public function handle($match, $state, $pos, Doku_Handler $handler) argument 103 $match = utf8_substr($match, strlen(self::getTag()) + 1, -1); 104 $parameters = webcomponent::parseMatch($match); 122 $handler->_addCall('cdata', array($match), $pos, null);
|
/plugin/autotweet/syntax/ |
H A D | autotweet.php | 54 * @param match Matched pattern. 60 public function handle($match, $state, $pos, &$handler){ argument 64 $match = trim( substr($match, 12, -2) ); 66 $pairs = explode('&', $match);
|
/plugin/facebook/ |
H A D | syntax.php | 41 function handle($match, $state, $pos, Doku_Handler $handler){ argument 54 $params = explode(' ',substr(strtolower($match),4,-2)); 75 }elseif(preg_match('/^(\d+)x(\d+)$/',$param,$match)){ 76 $data['width'] = $match[1]; 77 $data['height'] = $match[2];
|
/plugin/flattr/ |
H A D | syntax.php | 38 function handle($match, $state, $pos, Doku_Handler $handler) { argument 44 $match = trim($match); 48 if (substr($match, 0, 8) == '<flattr>') { 49 $lines = explode("\n", substr($match, 8, -9));
|
/plugin/folded/syntax/ |
H A D | span.php | 27 * Handle the match 29 function handle($match, $state, $pos, Doku_Handler $handler){ argument 31 $match = trim(substr($match,2,-1)); // strip markup 33 $handler->addCall('cdata',array($match), $pos); 36 return array($state, $match);
|
/plugin/bez/syntax/ |
H A D | qlink.php | 20 function handle($match, $state, $pos, Doku_Handler $handler) { argument 21 preg_match('/#([a-z]*)([0-9]+)/', $match, $matches); 55 return array($match, $table, $id_key, $id, $anchor); 70 list($match, $table, $id_key, $id, $anchor) = $data; 71 $renderer->doc .= '<a href="?id='.$lang_code.'bez:'.$table.':'.$id_key.':'.$id.$anchor.'">'.$match.'</a>';
|
/plugin/batchedit/ |
H A D | server.js | 57 var match = data.match(new RegExp(cookie + '(.+?)' + cookie)); 59 if ((match == null) || (match.length != 2)) { 63 return match[1];
|
H A D | engine.php | 213 $count = preg_match_all('/\n/', $context, $match, PREG_SET_ORDER | PREG_OFFSET_CAPTURE); 216 $context = substr($context, $match[$count - $contextLines - 1][0][1] + 1); 231 $count = preg_match_all('/\n/', $context, $match, PREG_SET_ORDER | PREG_OFFSET_CAPTURE); 234 $context = substr($context, 0, $match[$contextLines][0][1]); 266 $count = @preg_match_all($regexp, $text, $match, PREG_SET_ORDER | PREG_OFFSET_CAPTURE); 291 $this->addMatch($text, $match[$i][0][1], $match[$i][0][0], $regexp, $replacement, 320 foreach ($this->matches as $match) { 321 if ($match->isMarked()) { 336 foreach ($this->matches as $match) { 834 compareMatches($match, $cache) global() argument 845 compareMatches($match, $cache) global() argument [all...] |
/plugin/tabbox/ |
H A D | syntax.php | 70 * @param string $match The match of the syntax 76 public function handle($match, $state, $pos, Doku_Handler $handler) { argument 80 return array($state, $match, $pos); 94 list($state, $match, $pos) = $data; 106 $this->_openTab($renderer, substr($match, 7, -1), $pos + strlen($match) + 1 ); 117 $renderer->cdata($match);
|
/plugin/hcalendar/syntax/ |
H A D | helper.php | 3 function hcal_parseCommand($match) { argument 7 if (strpos($match,'hcali') != 0) { 8 $match = html_entity_decode(substr($match, 8, -2)); 11 $match = html_entity_decode(substr($match, 7, -2)); 14 @list($time_info,$summary,$location) = explode('|',$match,3);
|
/plugin/include/syntax/ |
H A D | include.php | 62 * @param string $match The current match 63 * @param int $state The match state 64 * @param int $pos The position of the match 68 function handle($match, $state, $pos, Doku_Handler $handler) { argument 70 $match = substr($match, 2, -2); // strip markup 71 list($match, $flags) = array_pad(explode('&', $match, 2), 2, ''); 74 list($mode, $page, $sect) = array_pad(preg_split('/>|#/u', $match, [all...] |
/plugin/rndtxt/ |
H A D | syntax.php | 36 public function handle($match, $state, $pos, Doku_Handler $handler) argument 38 $match = substr($match, 2, -2); 39 $data = explode('|', $match);
|
/plugin/tablewidth/ |
H A D | syntax.php | 34 public function handle($match, $state, $pos, Doku_Handler $handler) { argument 36 if (preg_match('/\|<\s*(.+?)\s*>\|/', $match, $match) != 1) { 40 return array($match[1]);
|
/plugin/combo/vendor/carica/phpcss/src/PhpCss/Ast/Selector/Simple/ |
H A D | Attribute.php | 18 public $match = self::MATCH_EXISTS; variable in PhpCss\\Ast\\Selector\\Simple\\Attribute 22 string $name = '', int $match = self::MATCH_EXISTS, Ast\Value\Literal $literal = NULL argument 25 $this->match = $match;
|
/plugin/sectiontoggle/ |
H A D | Mobile_Detect.php | 287 // http://www.match.net.cn/products.asp 1107 if ($this->match($_regex, $userAgent)) { 1117 * If the key is found then try to match the corresponding 1126 // Make the keys lowercase so we can match: isIphone(), isiPhone(), isiphone(), etc. 1134 $this->cache[$key] = $this->match($_rules[$key]); 1202 if ($this->match($_regex, $userAgent)) { 1251 public function match($regex, $userAgent = null) function in Mobile_Detect 1253 $match = (bool) preg_match(sprintf('#%s#is', $regex), (false === empty($userAgent) ? $userAgent : $this->userAgent), $matches); 1254 // If positive match is found, store the results for debug. 1255 if ($match) { [all...] |
/plugin/credits/ |
H A D | syntax.php | 24 function handle($match, $state, $pos, Doku_Handler $handler) { argument 25 preg_match('/<<CREDITS:(.*?)>>/', $match,$matches); 37 list($state, $match) = $data; 38 $match = trim($match); 39 if($match && function_exists($match)) { 40 $match($renderer,$this->plugins); 43 if($match == '~nodesc~') {
|
/plugin/farm/ |
H A D | script.js | 9 if(!items[i].getAttribute('ref') || !items[i].className.match(/animal_(dir|file)/)) continue; 19 …if(!d[i].getAttribute('ref') || !d[i].getAttribute('pref') || !d[i].className.match(/animal_(dir|f… 56 if(!items[i].className.match(/animal_dir/)) continue; 75 if(!d[i].getAttribute('ref') || !d[i].className.match(/animal_(dir|file)/)) continue; 86 …if(!d[i].getAttribute('ref') || !d[i].getAttribute('pref') || !d[i].className.match(/animal_(dir|f… 88 if(d[i].className.match(/animal_dir/)) d[i].close(); 96 if(!items[i].getAttribute('ref') || !items[i].className.match(/animal_dir/)) continue; 102 if(!o.className.match(/animal_dir/)) p = p.substr(0, p.lastIndexOf('/')); 112 if(!d[i].className.match(/animal_hud/)) continue;
|
/plugin/tplmod/ |
H A D | script.js | 70 if(val.match(/<.*?>/)) { 101 if( _html.match(regex)) { 120 if(_class && _class.match(/show/)) { 124 if(url.match(regex) && !url.match(xcludes)) { 133 if(optparent.attr('label') && optparent.attr('label').match(/User\s+Tools/i)) return; 138 if(opt.value.match(xcludes)) return; 143 if(opt.value.match(regex)) jQuery(this).hide(); 151 if(url.match(regex)) {
|