Home
last modified time | relevance | path

Searched refs:match (Results 176 – 200 of 2354) sorted by relevance

12345678910>>...95

/plugin/dirtylittlehelper/syntax/
H A Dtablehtml.php65 * @param string $match The match of the syntax
72 public function handle($match, $state, $pos, Doku_Handler $handler) argument
78 if( substr($match,0,3) =='<dl'){
79 return array($state, 'BEGIN',$match);
83 return array($state, 'UNMATCHED', $match);
86 if( substr($match,0,3) =='</d'){
87 return array($state, '/END',$match);
H A Dtree.php62 * @param string $match The match of the syntax
69 public function handle($match, $state, $pos, Doku_Handler $handler) argument
76 if ($match == '<dlh.tree>'){
77 return array( $state, 'TREE',$match);
79 }elseif( $match == '<dlh.notree>'){
81 return array($state, 'NOTREE',$match);
83 }elseif( $match == '<dlh.forcetree>'){
86 return array($state, 'FORCETREE',$match);
221 preg_match('/<h1>.*?<\/h1>/', p_locale_xhtml('index'), $match);
222 $this->dlh_tree_html .= $match[0];
/plugin/confightmlok/
H A Dcommon.php43 function handle ($match, $state, $pos, Doku_Handler $handler) { argument
46 return array($state, $match);
49 $match= $this->html_sanitize($match, 'code');
50 return array($state, $match);
53 return array($state, $match);
56 return array($state, $match);
/plugin/codemirror/dist/modes/
H A Dswift.min.js1match("//")){a.skipToEnd();return"comment"}if(a.match("/*")){b.tokenize.push(t);return t(a,b)}}if(…
H A Dmbox.min.js1match(d)){return null}else{b.inHeader=false;b.header=null}if(a.match(e)){b.inHeaders=true;b.inSepa…
/plugin/dtable/
H A Dsyntax.php27 function handle($match, $state, $pos, Doku_Handler $handler) { argument
32 $table_nr = (int) substr($match, 5, 2);
39 case DOKU_LEXER_UNMATCHED : return array($state, $match);
49 list($state,$match) = $data;
53 if($match != false)
59 $pos = $match[0];
60 $table_nr = $match[1];
61 $dtable_pages = $match[2];
101 case DOKU_LEXER_UNMATCHED : $renderer->doc .= $renderer->_xmlEntities($match); break;
/plugin/changemarks/
H A Dinserted.php40 function handle($match, $state, $pos, Doku_Handler $handler) { argument
46 if (substr($match, 0, 4) == '<ins') $match = substr($match, 5, -1);
47 else $match = substr($match, 2, -1);
48 return array($state, $match);
52 return array($state, $match);
H A Ddeleted.php40 function handle($match, $state, $pos, Doku_Handler $handler) { argument
46 if (substr($match, 0, 4) == '<del') $match = substr($match, 5, -1);
47 else $match = substr($match, 2, -1);
48 return array($state, $match);
52 return array($state, $match);
/plugin/pagestat/syntax/
H A Dblock.php30 public function handle($match, $state, $pos, Doku_Handler $handler){ argument
33 $match = trim(substr($match,3,-1));
34 $arg_list = explode(" ",$match);
38 case DOKU_LEXER_UNMATCHED : return array($state, $match);
48 list($state,$match,$count) = $data;
51 $arg_list = $match;
76 $renderer->doc .= $renderer->_xmlEntities($match);
/plugin/abstract/
H A Dsyntax.php31 function handle($match, $state, $pos, Doku_Handler $handler){ argument
34 $flags = substr($match, 9, -1);
39 return [$state, $match];
50 list($state, $match) = $data;
57 $renderer->doc .= hsc($match);
71 list($state, $match) = $data;
74 if($match['hide'])
80 $renderer->doc .= hsc($match);
/plugin/ckgedit/
H A Dscript.js45 function(match, p1, p2) { argument
47 if(p1.match(/msword/) ) {
49 match = match.replace(/msword/,"");
55 return match;
111 match = html.match( endTag );
113 if ( match ) {
115 match[0].replace( endTag, parseEndTag );
121 match = html.match( startTag );
123 if ( match ) {
443 if (opt.match(/^\d+$/)) {
[all …]
/plugin/nssize/
H A Dsyntax.php11 function handle($match, $state, $pos, Doku_Handler $handler){ argument
12 $match = substr($match,8,-2);
13 if($match[0]=='>') $match = substr($match,1);
14 return array($state,$match);
30 list($state, $match) = $data;
36 $path = empty($conf[$c]) ? $conf['savedir'].'/'.$p.'/'.$match : $conf[$c].'/'.$match;
41 $name = $this->getConf('show_abs_path')===1?$path:$p.'/'.$match;
/plugin/formatplus2/syntax/
H A Dblockinsertplus.php61 function handle($match, $state, $pos, Doku_Handler $handler){ argument
64 $match = substr($match,4,-1);
65 if(!empty($match)){
66 if(preg_match("/^(.*) =(.*?) @(.*?)$/", $match, $matches)){
68 }elseif(preg_match("/^(.*) @(.*?) =(.*?)$/", $match, $matches)){
70 }elseif(preg_match("/^(.*) =(.*?)$/", $match, $matches)){
72 }elseif(preg_match("/^(.*) @(.*?)$/", $match, $matches)){
75 $output = array(trim($match),'','');
85 $output = $match;
/plugin/formatplus/syntax/
H A Dblockinsertplus.php61 function handle($match, $state, $pos, &$handler){ argument
64 $match = substr($match,4,-1);
65 if(!empty($match)){
66 if(preg_match("/^(.*) =(.*?) @(.*?)$/", $match, $matches)){
68 }elseif(preg_match("/^(.*) @(.*?) =(.*?)$/", $match, $matches)){
70 }elseif(preg_match("/^(.*) =(.*?)$/", $match, $matches)){
72 }elseif(preg_match("/^(.*) @(.*?)$/", $match, $matches)){
75 $output = array(trim($match),'','');
85 $output = $match;
/plugin/simplemap/
H A Dsyntax.php53 * @param string $match The match of the syntax
59 public function handle($match, $state, $pos, Doku_Handler $handler): array argument
61 return $this->parseMatch($match);
65 private function parseMatch(string $match): array argument
67 $match = substr($match, strlen('{{simplemap>'), -strlen('}}'));
68 [$type, $query] = explode('?', $match, 2);
/plugin/htmldetailstag/syntax/
H A Ddetails.php78 * @param string $match The match of the syntax
85 public function handle($match, $state, $pos, Doku_Handler $handler) argument
87 $data = array($match, $state);
106 list($match, $state) = $data;
109 $renderer->doc .= $match;
112 $renderer->doc .= $renderer->_xmlEntities($match);
115 $renderer->doc .= $match;
/plugin/htmlcomment/
H A Dsyntax.php28 function handle($match, $state, $pos, Doku_Handler $handler) { argument
31 $match = substr($match,4,-3);
32 return array($state, $match);
39 list($state, $match) = $data;
41 $renderer->doc .= '<!--'.$match.'-->';
/plugin/amazonlight/
H A Dsyntax.php56 public function handle($match, $state, $pos, Doku_Handler $handler) argument
58 $match = substr($match, 9, -2);
59 list($ctry, $asin) = explode(':', $match, 2);
77 if (preg_match('/(\d+)x(\d+)/i', $more, $match)) {
78 $params['imgw'] = $match[1];
79 $params['imgh'] = $match[2];
81 if (preg_match('/noprice/i', $more, $match)) {
83 } elseif (preg_match('/(show)?price/i', $more, $match)) {
/plugin/dwtimeline/syntax/
H A Dtimeline.php38 * @param string $match The match of the syntax
44 public function handle($match, $state, $pos, Doku_Handler $handler) argument
49 … $match = trim(substr($match, 11,-1));// returns match between <dwtimeline(11) and >(-1)
50 $data = $this->getTitleMatches($match);
54 return array ($state,$match);
56 … $match = trim(substr($match, 12,-1));//returns match between </dwtimeline(12) and >(-1)
57 $data = $this->getTitleMatches($match);
/plugin/syntaxhighlighter4/dist/
H A Dsyntaxhighlighter.js480 pos = match.index + match[0].length;
555 match: String.prototype.match,
1348 if (sticky && match && match.index !== pos) {
1916 match[name] = match[i];
2264 var index = isNaN(match[1]) ? indexOf(this.captureNames, match[1]) + 1 : +match[1],
2265 endIndex = match.index + match[0].length;
2481 pos = match.index + match[0].length;
2807 pos = match.index + match.length + (match.offset || 0);
3468 offsetMatches(matches, match.index + match[0].lastIndexOf(match.right));
3899 …if (match.here_doc != null) result.push(new Match(match.here_doc, match.index + match[0].indexOf(m…
[all …]
/plugin/mediasyntax/syntax/
H A Dinclude.php33 function handle($match, $state, $pos, Doku_Handler $handler)
36 $match = substr($match, 2, -2); // strip markup argument
37 list($match, $flags) = explode('&', $match, 2);
39 list($page, $sect) = preg_split('/#/u', $match, 2);
/plugin/cryptsign/
H A Dsyntax.php51 function handle($match, $state, $pos, Doku_Handler $handler){ argument
54 $match = substr($match,2,-4);
55 $pos = strrpos($match,'$$');
56 $text = trim(substr($match,0,$pos));
57 $sig = substr($match,$pos+2,32);
58 $user = substr($match,$pos+36);
/plugin/bpmnio/syntax/
H A Dbpmnio.php51 public function handle($match, $state, $pos, Doku_Handler $handler) argument
56 preg_match('/<bpmnio type="(\w+)">/', $match, $matched);
62 $posEnd = $pos + strlen($match);
63 $match = base64_encode($match);
64 return array($state, $this->type, $match, $posStart, $posEnd);
75 list($state, $type, $match, $posStart, $posEnd) = $data;
100 {$match}
/plugin/description/
H A Dsyntax.php28 function handle($match, $state, $pos, Doku_Handler $handler) { argument
29 $match = substr($match, 14, -2); // strip markup
30 $match = hsc($match);
32 return array($match);
/plugin/yuml/
H A Dusecase.php62 * @param string $match The match of the syntax
68 public function handle($match, $state, $pos, Doku_Handler $handler) argument
74 preg_match($this->handle_pattern, $match, $result);
77 $match = $result[2];
79 return array($state, $match, $style);
94 list($state, $match, $style) = $data;
97 $renderer->doc .= $this->getYumlIMG($this->yuml_type, $match, $style);

12345678910>>...95