Home
last modified time | relevance | path

Searched refs:match (Results 26 – 50 of 2226) sorted by relevance

12345678910>>...90

/plugin/dokupp/
H A Dsyntax.php25 function handle($match, $state, $pos, &$handler) { argument
26 $match = substr($match, 1, -1); // strip markup
29 else if (preg_match('/#[a-z]*=\d*/', $match)) { //< select counter, set amount
31 return explode('=', $match);
34 list ($match, $format) = explode(':', $match);
46 list ($match, $arg) = $data;
48 if ('N' === $match) {
54 } else if ($match === null) {
58 if ($match==='') $match= '_0'; // set default counter if no name given
59 if ($arg==='') $arg= $N[$match]; // preserve amount if no amount given
[all …]
/plugin/pdftools/
H A Dsyntax.php77 function handle($match, $state, $pos, Doku_Handler $handler){ argument
78 return array($state,$match);
87 $match = $data[0];
88 list($state, $match) = $data;
94 …if ($match=='<quer1>') {$renderer->doc .= '<img src="'.DOKU_BASE.'lib/plugins/pdftools/img/line.ph…
99 if ($match=='<etikett>') {
111 if (strpos($match,"quer")>0) {
113 $match = str_replace("quer","",$match);
114 $match = trim($match);
117 if (!in_array($match,$t)) {
[all …]
/plugin/codemirror/dist/modes/
H A Dcrystal.min.js1match("{%",false)){return c(x("%","%"),a,b)}if(b.lastToken!="\\"&&a.match("{{",false)){return c(x(…
H A Dvbscript.min.js1match(K)){a.skipToEnd();return"comment"}if(a.match(/^((&H)|(&O))?[0-9\.]/i,false)&&!a.match(/^((&H…
H A Ddjango.min.js1match("{{")){b.tokenize=g;return"tag"}else if(a.match("{%")){b.tokenize=h;return"tag"}else if(a.ma…
H A Dvb.min.js1match(/^((&H)|(&O))?[0-9\.a-f]/i,false)){var e=false;if(a.match(/^\d*\.\d+F?/i)){e=true}else if(a.
H A Debnf.min.js1match(/^\/\*/)){f.stack.unshift(d.comment);f.commentType=c.slash}else if(b.match(/^\(\*/)){f.stack…
H A Dwebidl.min.js1match(w)){b.inComment=false;return"comment"}a.skipToEnd();return"comment"}if(a.match("//")){a.skip…
/plugin/bbcodeextensions/syntax/
H A Dq.php16 function handle($match, $state, $pos, Doku_Handler $handler) { argument
17 $match= trim(substr($match, 2, -4));
18 $arr= explode(']', $match, 2);
23 $match= $arr;
26 return array($state, $match);
29 return array($state, $match);
35 return array($state, $match);
42 list ($state, $match) = $data;
52 $match[1]= $renderer->_xmlEntities($match[1]);
54 <q {$match[0]}> {$match[1]} </q>
[all …]
H A Danchor.php16 function handle($match, $state, $pos, Doku_Handler $handler) { argument
19 return array($state, $match);
22 return array($state, $match);
28 return array($state, $match);
35 list ($state, $match) = $data;
43 $match= substr($match, 3, -4);
44 $match= $renderer->_xmlEntities($match); // htmlspecialchars($match);
45 $renderer->doc .= '<a id="'. $match. '" name="'. $match. '"></a>';
49 $renderer->doc .= '['. $match. ']';
51 $renderer->doc .= '#['. $match. '] ';
H A Dclassspan.php17 function handle($match, $state, $pos, Doku_Handler $handler) { argument
20 $omatch= $match;
21 $match = explode('"',substr($match, 3, -1));
22 return array($state, $match[1], $omatch);
24 return array($state, $match);
36 list($state, $match) = $data;
42 <span class="{$defcl} {$match}" >
47 $match = $renderer->_xmlEntities($match);
48 $renderer->doc .= $match;
59 list($state, $match) = $data;
[all …]
H A Dclassdiv.php17 function handle($match, $state, $pos, Doku_Handler $handler) { argument
20 $omatch= $match;
21 $match = explode('"',substr($match, 3, -1));
22 return array($state, $match[1], $omatch);
24 return array($state, $match);
33 list($state, $match) = $data;
38 <div class="{$defcl} {$match}" >
43 $match = $renderer->_xmlEntities($match);
44 $renderer->doc .= $match;
54 list($state, $match) = $data;
[all …]
/plugin/randomtables/syntax/
H A Dsource.php41 public function handle($match, $state, $pos, Doku_Handler $handler): array argument
47 preg_match('/\s([A-Za-z0-9_]+)\>$/', $match, $parts);
50 return [$state, $match, $parts[1]];
53 $match = preg_split("/(\r|\n|\r\n)/m", $match);
55 $match = $this->parseLines($match);
59 'lines' => $match,
65 return [$state, $match];
81 [$state, $match]
115 parseLines(array $match) global() argument
[all...]
/plugin/syntaxhighlighter3/sxh3/pkg/scripts/
H A DshBrushBash.js24 function hereDocProcess(match, regexInfo) argument
29 if (match.here_doc != null)
30 …result.push(new constructor(match.here_doc, match.index + match[0].indexOf(match.here_doc), 'strin…
32 if (match.full_tag != null)
33 result.push(new constructor(match.full_tag, match.index, 'preprocessor'));
35 if (match.end_tag != null)
36 …result.push(new constructor(match.end_tag, match.index + match[0].lastIndexOf(match.end_tag), 'pre…
/plugin/syntaxhighlighter3/sxh3/src/js/
H A DshBrushBash.js8 function hereDocProcess(match, regexInfo) argument
13 if (match.here_doc != null)
14 …result.push(new constructor(match.here_doc, match.index + match[0].indexOf(match.here_doc), 'strin…
16 if (match.full_tag != null)
17 result.push(new constructor(match.full_tag, match.index, 'preprocessor'));
19 if (match.end_tag != null)
20 …result.push(new constructor(match.end_tag, match.index + match[0].lastIndexOf(match.end_tag), 'pre…
/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/skipentity/
H A Dsyntax.php35 function handle($match, $state, $pos, Doku_Handler $handler) { argument
38 return array($state, trim($match));
41 return array($state, $match);
47 return array($state,$match);
56 list($state, $match) = $data;
60 if($match == '``') {
69 $match = $renderer->_xmlEntities($match);
70 $match = str_replace("\n","<br>", $match);
71 if(strpos($match,' ') !== false) {
72 $match = preg_replace("/\s/m","&nbsp;",$match);
[all …]
/plugin/fckg/syntax/
H A Ddwplugin.php47 $match = preg_replace('/\\\\\\\\/',"", $match);
71 $match = preg_replace('/[~]+(<+)[~]+/','\\1',$match);
72 $match = preg_replace('/[~]+(>+)[~]+/','\\1',$match);
86 $match = preg_replace('/<\/plugin>/',"", $match);
87 $match = preg_replace('/^\s*<plugin\s+title=.*?>/',"", $match);
97 $match = $pattern;
110 $match = preg_replace('/<\s*/','<', $match);
240 $match = str_replace ('&amp;lt;p&amp;gt;', '<p>', $match);
241 $match = str_replace ('&lt;p&gt;', '<p>', $match);
242 $match = str_replace ('&amp;lt;br&amp;gt;', '<br>', $match);
[all …]
/plugin/creole/syntax/
H A Dtable.php53 if ( trim($match) == '|=' ) {
69 if ( trim($match) != '' ) {
70 $handler->addCall('cdata',array($match), $pos);
75 if ( $match == ' ' ){
76 $handler->addCall('cdata', array($match), $pos);
77 } else if ( preg_match('/\t+/',$match) ) {
79 } else if ( preg_match('/ {2,}/',$match) ) {
81 } else if ( $match == "\n|" ) {
84 } else if ( $match == "\n|=" ) {
87 } else if ( $match == '|' ) {
[all …]
/plugin/bbcode/
H A Dlink.php26 function handle($match, $state, $pos, Doku_Handler $handler) { argument
27 $match = substr($match, 5, -6);
28 if (preg_match('/".+?"/',$match)) $match = substr($match, 1, -1); // addition #1: unquote
29 $match = preg_split('/\]/u',$match,2);
30 if ( !isset($match[0]) ) {
31 $url = $match[1];
34 $url = $match[0];
35 $title = $match[1];
H A Dcolor.php173 function handle($match, $state, $pos, Doku_Handler $handler) { argument
176 $match = substr($match, 7, -1);
177 … if (preg_match('/".+?"/',$match)) $match = substr($match, 1, -1); // addition #1: unquote
178 return array($state, $match);
181 return array($state, $match);
195 list($state, $match) = $data;
198 if ($match = $this->_isValid($match)) {
199 … $renderer->doc .= '<span style="color:'. $match. '">'; // addition #2: SVG browser colors
206 $renderer->doc .= $renderer->_xmlEntities($match);
/plugin/clearhistory/
H A Dadmin.php157 $content, $match);
160 $cmptime = $match[1][0] + 9999999999;
161 …$cmpuser = (empty($match[5][$max - 1])) ? $match[2][$max - 1] : $match[5][$max - 1]; // user or if…
164 … $user = (empty($match[5][$i])) ? $match[2][$i] : $match[5][$i]; // user or if not logged in ip
165 $time = $match[1][$i];
167 if ($match[3][$i] != "E" && $match[3][$i] != "e") {
182 if ($onlySmall && $match[3][$i] == 'E') {
190 if ($onlyNoComment && trim($match[6][$i]) != '') {
214 * @param array $match
218 protected function _addLine($match, $i) argument
[all …]
/plugin/orgapp/
H A Dsyntax.php34 function handle($match, $state, $pos, Doku_Handler $handler) { argument
62 $state, $match
76 list ($state, $match) = $data;
79 $code = $match['code'];
80 …t name="' . $match['name'] . '" code="' . $code . '" archive="' . $match['archive'] . '" width="' …
81 if ($match['target'] != '') {
82 $renderer->doc .= '<param name="Target" value="' . $match['target'] . '" />';
84 $renderer->doc .= '<param name="DataType" value="' . $match['type'] . '" />';
85 if ($match['url'] != '') {
86 $renderer->doc .= '<param name="DataSource" value="' . $match['url'] . '" />';
[all …]
/plugin/alphalist/
H A Dsyntax.php26 function handle($match, $state, $pos, Doku_Handler $handler) argument
30 dbglog($match, 'alphalist syntax $match');
35 $match = substr($match, 10);
37 $match = substr($match, 0, -1);
39 $match = trim($match);
41 dbglog($match, 'alphalist syntax $match after processing');
46 if(empty($match))
93 if(preg_match('/^ (\-|\*)(.*)/', $row, $match))
95 $list[$alphalist->plain($match[2])] = $match[2];
113 if(preg_match('/^ (\-|\*)(.*)/', $row, $match))
[all …]
/plugin/catlist/
H A Dsyntax.php47 function _checkOption(&$match, $option, &$varAffected, $valIfFound){
48 if (preg_match('/-'.$option.' /i', $match, $found)) {
50 $match = str_replace($found[0], '', $match); argument
53 function _checkOptionParam(&$match, $option, &$varAffected, $varAssoc){
54 if (preg_match('/-'.$option.':('.implode('|',array_keys($varAssoc)).') /i', $match, $found)) {
56 $match = str_replace($found[0], '', $match); argument
60 function handle ($match, $state, $pos, Doku_Handler $handler) {
96 $match
63 handle($match, $state, $pos, Doku_Handler $handler) global() argument
[all...]

12345678910>>...90