Home
last modified time | relevance | path

Searched refs:match (Results 126 – 150 of 2354) sorted by path

12345678910>>...95

/plugin/autolink2/syntax/
H A Dadd.php52 function handle($match, $state, $pos, &$handler){ argument
57 $anchors = explode('|', substr($match, 11, -2)); // strip markup and split tags
H A Dshow.php48 function handle($match, $state, $pos, &$handler){ argument
49 return array($match, $state);
63 function _renderautolink(&$renderer, $match, $state) { argument
72 $x=$match;
76 $replaced = preg_replace($pattern,$replace,$match);
/plugin/autolink4/syntax/
H A Dallwords.php74 Make my own word-by-word parser, after sorting match strings and caching. (only for non-regexes)
75 Looking for earliest starting, longest match.
78 - If a match is found and there are no in-progress matches of its start pos or earlier, do the
93 * @param string $match - The found text, from addSpecialPattern.
99 function handle($match, $state, $pos, Doku_Handler $handler) {
100 msg($match);
101 return $match;
106 if (isset($this->helper->getSimpleSubs()[$match])) {
107 return $this->helper->getSimpleSubs()[$match];
110 // Annoyingly, there's no way (I know of) to determine which match sen
103 handle($match, $state, $pos, Doku_Handler $handler) global() argument
[all...]
H A Dregex.php9 // - Regexes always match the thing that started first, or the longest string if there are two matches.
79 * @param string $match - The found text, from addSpecialPattern.
85 function handle($match, $state, $pos, Doku_Handler $handler) {
86 return $this->helper->getMatch($match);
93 handle($match, $state, $pos, Doku_Handler $handler) global() argument
/plugin/autonumbering/
H A Dsyntax.php77 public function handle($match, $state, $pos, Doku_Handler $handler){ argument
84 if (preg_match('/~~(.*?)~~/', $match, $matches)) {
148 return array($match, NULL);
/plugin/autotabber/
H A Dtaboverride.js428 whitespace = text.slice(startLine, endLine).match(/^[ \t]*/)[0];
/plugin/autotooltip/
H A Dsyntax.php54 * @param string $match - The match from addEntryPattern.
60 function handle($match, $state, $pos, Doku_Handler $handler) {
64 preg_match('/<autott\s*([^>]+?)\s*>/', $match, $classes);
65 preg_match('/<autott[^>]*>\s*([\s\S]+)\s*<\/autott>/', $match, $inner);
61 handle($match, $state, $pos, Doku_Handler $handler) global() argument
/plugin/autotranslation/
H A Dhelper.php132 if(preg_match($rx, $id, $match)) {
133 return array($match[1], $match[2]);
144 if(preg_match($rx, $_SERVER['HTTP_ACCEPT_LANGUAGE'], $match)) {
145 return strtolower($match[2]);
/plugin/autotranslation/syntax/
H A Dnotrans.php51 function handle($match, $state, $pos, Doku_Handler $handler){ argument
H A Dtrans.php36 function handle($match, $state, $pos, Doku_Handler $handler) { argument
/plugin/autotweet/
H A DOAuth.php749 $match = $matches[0];
755 $offset = $match[1] + strlen($match[0]);
/plugin/autotweet/syntax/
H A Dautotweet.php54 * @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/avatar/
H A Dsyntax.php28 function handle($match, $state, $pos, Doku_Handler $handler) {
29 list($syntax, $match) = explode('>', substr($match, 0, -2), 2); // strip markup argument
30 $one = explode('?', $match, 2); // [user|mail] ? [size]|[title]
/plugin/avbarchart/
H A Dsyntax.php71 public function handle($match, $state, $pos, Doku_Handler $handler) argument
81 list($maxRange, $data1) = preg_split("/\|/", $match);
110 $match = $chart;
111 return array($state, $match);
128 list($state, $match) = $data;
140 $renderer->doc .= $match; break;
/plugin/avtaskbox/
H A Dsyntax.php80 public function handle($match, $state, $pos, Doku_Handler $handler) argument
92 preg_match('/^Title:(.*?)$/isxm', $match, $matches);
95 preg_match('/^Priority:(.*?)$/isxm', $match, $matches);
98 preg_match('/^Estimate:(.*?)$/isxm', $match, $matches);
101 preg_match('/^Assigned:(.*?)$/isxm', $match, $matches);
104 preg_match('/^Progress:(.*?)$/isxm', $match, $matches);
107 preg_match('/Description:(.*)/isx', $match, $matches);
130 $match = $resultStr;
131 return array($state, $match);
149 list($state, $match) = $data;
[all …]
/plugin/backlinks/
H A Dsyntax.php63 $match = substr($match, 12, -2);
66 if(strstr($match, "#")) {
67 $includeNS = substr(strstr($match, "#", false), 1);
68 $match = strstr($match, "#", true);
71 return (array($match, $includeNS));
89 $match = $data[0];
90 $match = ($match == '.') ? $id : $match;
91 if(strstr($match, ".:")) {
92 resolve_pageid(getNS($id), $match, $exists);
98 $backlinks = ft_backlinks($match);
[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/badbehaviour/
H A Daction.php66 preg_match('/(bb2_addLoadEvent\(function\(\) \{)(.*)(\}\);)/s',$bb2_javascript,$match);
67 $data = 'jQuery(function(){'.$match[2].'});';
/plugin/barcode/
H A Dsyntax.php35 function handle($match, $state, $pos, Doku_Handler $handler) { argument
37 $paramsArr = explode('~', $match);
/plugin/barcodes/
H A Dsyntax.php44 public function handle($match, $state, $pos, Doku_Handler $handler) argument
50 $barcode = new SimpleXMLElement($match);
/plugin/batchedit/
H A Dengine.php213 $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...]
H A Dinterface.css108 #batchedit .be-match {
114 #batchedit .be-match .be-matchid {
118 #batchedit .be-match table {
124 #batchedit .be-match td.be-text {
134 #batchedit .be-match td.be-arrow {
140 #batchedit .be-match td.be-arrow svg {
151 #batchedit .be-match .be-preview {
155 #batchedit .be-match .be-replaced {
159 #batchedit .be-match .be-applied {
H A Dinterface.php327 foreach ($page->getMatches() as $match) {
328 print('<div class="be-match">'); argument
330 $this->printMatchHeader($page->getId(), $match);
331 $this->printMatchTable($match);
340 private function printMatchHeader($pageId, $match) {
341 $id = $pageId . '#' . $match->getPageOffset();
345 if (!$match->isApplied()) {
346 $this->printApplyCheckBox($id, $id, 'ttl_applymatch', $match->isMarked());
363 private function printMatchTable($match) {
364 $original = $this->prepareText($match
351 printMatchTable($match) global() argument
[all...]
H A Dserver.js57 var match = data.match(new RegExp(cookie + '(.+?)' + cookie));
59 if ((match == null) || (match.length != 2)) {
63 return match[1];
/plugin/bbcode/
H A Dbold.php28 function handle($match, $state, $pos, Doku_Handler $handler) { argument

12345678910>>...95