Home
last modified time | relevance | path

Searched refs:match (Results 451 – 475 of 2354) sorted by relevance

1...<<11121314151617181920>>...95

/plugin/c3chart/
H A Dsyntax.php44 * @param string $match The match of the syntax
50 public function handle($match, $state, $pos, Doku_Handler $handler){ argument
51 $match = substr(trim($match), 3, -5);
52 list($opts, $c3data) = explode('>', $match, 2);
/plugin/mailto/
H A Dsyntax.php44 function handle($match, $state, $pos, &$handler){ argument
45 $match = substr( $match, 9, -2 ); // strip "~~MAILTO:" from start and "~~" from end
46 return explode( ',', $match );
/plugin/clippy/
H A Dsyntax.php58 * @param string $match The match of the syntax
64 public function handle( $match, $state, $pos, Doku_Handler $handler ) { argument
84 if ( preg_match( '/\<clippy\>(.*)\<\/clippy\>/is', $match, $result ) === 1 ) {
87 elseif ( preg_match( '/\[clippy\s(.*)\]/is', $match, $result ) === 1 ) {
/plugin/noabstract/
H A Dsyntax.php21 public function handle($match, $state, $pos, Doku_Handler $handler) { argument
22 return array($state, $match);
28 list($state,$match) = $data;
32 $renderer->doc .= $renderer->_xmlEntities($match);
/plugin/youtracklinks/
H A Dsyntax.php84 function handle($match, $state, $pos, &$handler){ argument
88 $issue = $my->fetchYouTrackIssue($match);
90 throw new Exception("youTrack Issue not found: $match.");
98 return array('match' => $match);
/plugin/commonmark/vendor/league/commonmark/src/Block/Parser/
H A DATXHeadingParser.php
/plugin/imagepreview/
H A Dscript.js64 match= seltext.match(pattern);
65 seltext = DOKU_BASE+"lib/exe/fetch.php?media="+match[2]+"."+match[3] ;
/plugin/randomtables/syntax/
H A Droller.php42 public function handle($match, $state, $pos, Doku_Handler $handler): array argument
46 return [$state, $match];
51 return [$state, $match];
61 [$state, $match] = $data;
/plugin/issuetracker/
H A Dprototype.js558 if (match = source.match(pattern)) {
805 var comp = match[1].startsWith('[') ? match[2].replace(/\\\\]/g, ']') : match[1];
808 expr = expr.substring('[' == match[3] ? match[1].length : match[0].length);
1274 return match && match.key;
3181 var match = pctString.match(/^(\d+)%?$/i);
3959 match: match,
4381 !/\D/.test( match[2] ) && "0n+" + match[2] || match[2]);
4415 } else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {
4545 var first = match[2], last = match[3];
4957 Prototype.Selector.match = match;
[all …]
/plugin/codemirror/dist/modes/
H A Doctave.min.js.map1match","skipToEnd","eatSpace","m","startState","token","style","lineComment","fold","defineMIME"],…
H A Dmarkdown.min.js1match(i);var A=null;if(d.indentationDiff>=4&&(n||d.prevLine.fencedCodeEnd||d.prevLine.header||h)){…
/plugin/bugzillaint/syntax/
H A Dlist.php52 public function handle($match, $state, $pos, Doku_Handler $handler){ argument
56 if ( preg_match('/<[Bb]uglist\s+([^>]*)>/', $match, $submatch) ) {
59 'group_by' => preg_match('/group_by:([a-z_]+)/i', $match, $found) ? $found[1] : null,
60 …'extras' => preg_match('/extras:([a-z_,]+)/i', $match, $found) ? trim($found[1]) : $this->getConf(…
/plugin/syntaxhighlighter3/sxh3/src/js/
H A DshBrushCSharp.js17 function fixComments(match, regexInfo) argument
19 var css = (match[0].indexOf("///") == 0)
24 return [new SyntaxHighlighter.Match(match[0], match.index, css)];
/plugin/mediasyntax/syntax/
H A Dmedia.php28 function handle($match, $state, $pos, Doku_Handler $handler)
29 // This first gets called with $state=1 and $match is the entryPattern that matched.
30 // Then it (the function handle) gets called with $state=3 and $match is the text
32 // Then it gets called with $state=4 and $match is the exitPattern.
35 return array($match, $state, $pos);
40 // $data[0] is always $match
44 $match=$data[0]; // e.g. [[Image:foo.png|50px]]
45 $end=preg_replace("/^\[\[Image:|^\[\[File:/","",$match); // e.g. foo.png|50px]]
39 handle($match, $state, $pos, Doku_Handler $handler) global() argument
/plugin/syntaxhighlighter3/sxh3/pkg/scripts/
H A DshBrushCSharp.js33 function fixComments(match, regexInfo) argument
35 var css = (match[0].indexOf("///") == 0)
40 return [new SyntaxHighlighter.Match(match[0], match.index, css)];
/plugin/markdowku/
H A Dheadersetext.php33 function handle($match, $state, $pos, Doku_Handler $handler) { argument
34 $title = preg_replace('/^\n(.+?)[ \t]*\n.*/', '\1', $match);
36 if (preg_match('/^\n(.+?)[ \t]*\n=/', $match))
38 if (preg_match('/^\n(.+?)[ \t]*\n-/', $match))
/plugin/qna/syntax/
H A Dheader.php49 function handle($match, $state, $pos, Doku_Handler $handler) { argument
51 $match = preg_replace('/^(\s*=)\?/', '$1=', $match);
53 $handler->header($match, $state, $pos);
/plugin/linkback/
H A Dsyntax.php34 * Handle the match
36 * @param string $match The text matched by the patterns
37 * @param int $state The lexer state for the match
42 function handle($match, $state, $pos, Doku_Handler $handler) { argument
67 if ($match == '~~LINKBACK~~') {
72 if ($match == '~~LINKBACK:off~~') {
/plugin/virtualkeyboard/vk/
H A Dvk_popup.js26match(sr);if (m) {if (m[1].match(/^((https?|file)\:\/{2,}|\w:[\\])/)) return m[1];if (m[1].indexOf…
82match(sr);if (m) {if (m[1].match(/^((https?|file)\:\/{2,}|\w:[\\])/)) return m[1];if (m[1].indexOf…
/plugin/jquery-syntax/jquery-syntax/
H A Djquery.syntax.brush.ruby.js5 …constant',matches:function(match,expr){if(match[1]!='')return[];return[new Syntax.Match(match.inde… argument
/plugin/bibtex4dw/syntax/
H A Dcite.php47 public function handle($match, $state, $pos, Doku_Handler $handler){ argument
49 preg_match('/\{\[(.+?)\]\}/', $match, $matches);
54 @list($match, $state, $pos) = $data;
61 $bibkeys = explode(',', $match);
62 if ((count($bibkeys) > 1) || $bibtexrenderer->printCitekey($match)) {
/plugin/redissue/
H A Dsyntax.php48 function handle($match, $state, $pos, Doku_Handler $handler) { argument
57 preg_match("/server *= *(['\"])(.*?)\\1/", $match, $server);
73 preg_match("/id *= *(['\"])#(\\d+)\\1/", $match, $id);
81 preg_match("/title *= *(['\"])(.*?)\\1/", $match, $title);
87 preg_match("/short *= *(['\"])([0-1])\\1/", $match, $over_short);
92 preg_match("/text *= *(['\"])(.*?)\\1/", $match, $text);
97 preg_match("/project *= *(['\"])(.*?)\\1/", $match, $project);
102 preg_match("/tracker *= *(['\"])(.*?)\\1/", $match, $tracker);
107 preg_match("/limit *= *(['\"])(\\d+)\\1/", $match, $limit);
114 preg_match("/sort *= *(['\"])(.*?)\\1/", $match, $sort);
[all …]
/plugin/changes/
H A Dsyntax.php55 * @param string $match The text matched by the patterns
56 * @param int $state The lexer state for the match
61 public function handle($match, $state, $pos, Doku_Handler $handler)
63 $match = substr($match, 10, -2);
78 $match = explode('&', $match);
79 foreach ($match as $m) {
124 if (preg_match('/(\w+)(?:\((.*)\))?/', $value, $match) == 1) {
125 if (in_array($match[
57 handle($match, $state, $pos, Doku_Handler $handler) global() argument
[all...]
/plugin/imapmarkers/syntax/
H A Dmap.php80 public function handle($match, $state, $pos, Doku_Handler $handler) { argument
88 …ENTER: [%d] MATCH='%s' HANDLER='%s'", $this->nr_imagemap_handler, $match, substr($match, 14, -2)));
90 $img = Doku_Handler_Parse_Media(substr($match, 14, -2));
104 $match = trim($match);
106 …ap.handle::DOKU_LEXER_MATCHED: [%d] MATCH='%s' POS=%s", $this->nr_imagemap_handler, $match, $pos));
110 …ch("/\[{2}\s*([^|]*?)\s*\|\s*([^|]*?)\s*\|\s*([^|]*?)\s*@\s*([\d,\s]+)\s*\]{2}/", $match, $matches)
111 … or preg_match("/\[{2}\s*([^|]*?)\s*\|\s*([^|]*?)\s*@\s*([\d,\s]+)\s*\]{2}/", $match, $matches)) {
128 $err_msg = sprintf("Invalid area! AREA='%s'", $match);
169 if (preg_match("/^\{{2}(?i)CFG>\}{2}\s*(.*?)\s*\{{2}<CFG\s*\}{2}$/s", $match, $matches)) {
181 $err_msg = sprintf("Invalid configuration! CONFIG='%s'", $match);
[all …]
/plugin/spellcheck/
H A Dspellcheck.php160 if(preg_match('/^& ([^ ]+) (\d+) (\d+): (.*)/',$line,$match)){
162 $word = $match[1];
163 $off = $match[3]-1;
164 $sug = split(', ',$match[4]);
165 }elseif(preg_match('/^# ([^ ]+) (\d+)/',$line,$match)){
167 $word = $match[1];
168 $off = $match[2]-1;

1...<<11121314151617181920>>...95