Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 1842) sorted by relevance

12345678910>>...74

/plugin/owncloud/
H A Dsyntax.php62 $match= Doku_Handler_Parse_Media($match);
78 if($match['fileid'] == $match['width']){
94 …if($match['type'] != 'internalmedia') $match['title'] .= ' ('.$this->getLang('source').': '.$match
103match['src'])) $renderer->doc.= $helper->externalmedia($match['src'], $match['title'], $match['ali…
105 …internalmedia($match['fileid'],$match['src'], $match['title'], $match['align'], $match['width'],$m…
122 $match['w'] = $match['width'];
123 $dispMagnify = ($match['w'] || $match['height']);
129 …$match['magnifyLink'] = $helper->ml($src,array('cache'=>$match['cache'],'fileid'=>$match['fileid']…
138 if(!$match['w'] && $match['exist']){
140 $match['w'] = $match['height']*$gimgs[0]/$gimgs[1];
[all …]
/plugin/instructions/
H A Dsyntax.php62 $match = str_replace("{{INSTR<", '', $match);
63 $match = str_replace("}}", '', $match);
64 $match = str_replace("~~INSTR~~", '', $match);
65 $match = str_replace("~~END~~", '', $match);
76 $match = str_replace(array("|+"), '<br>', $match);
83 $match = preg_replace('/\/\//', '<i>', $match, 1);
84 $match = preg_replace('/\/\//', '</i>', $match, 1);
88 $match = preg_replace('/\*\*/', '<b>', $match, 1);
89 $match = preg_replace('/\*\*/', '</b>', $match, 1);
93 $match = preg_replace("/''/", '<code>', $match, 1);
[all …]
/plugin/htmlokay/
H A Dsyntax.php154 return $match;
200 return $match;
215 $match = $this->style_matches($match, 3);
235 return $match;
250 $match = $this->style_matches($match, 4);
261 return $match;
381 $match = preg_replace ('/</', '&lt;', $match) . '<br />';
402 $match = $this->rewrite_match_strict($match);
405 $match = $this->rewrite_match_medium($match);
408 $match = $this->rewrite_match_lax($match);
[all …]
/plugin/imagebox/
H A Dsyntax.php20 function handle($match, $state, $pos, Doku_Handler $handler){ argument
23 $match=Doku_Handler_Parse_Media(substr($match,3));
25 $dispMagnify = ($match['width'] || $match['height']) && $this->getConf('display_magnify')=='If necessary' || $this->getConf('display_magnify')=='Always';
29 $result = explode('#',$match['src'],2);
38 if ($match['type'] == 'internalmedia') {
44 $match['detail'] = ml($src, array('id' => $ID, 'cache' => $match['cache']), ($match['linkin
[all...]
/plugin/nspages/
H A DoptionParser.php15 static function checkRegEx(&$match, $pattern, &$arrayAffected) {
16 optionParser::preg_match_all_wrapper($pattern, $match, $found);
19 $match = optionParser::_removeFromMatch($regex[0], $match);
26 * @param string $match The string match by the plugin
31 static function checkOption(&$match, $pattern, &$varAffected, $valIfFound) {
32 if(optionParser::preg_match_wrapper($pattern, $match, $found)) {
34 $match = optionParser::_removeFromMatch($found[0], $match);
12 checkRegEx(& $match, $pattern, & $arrayAffected) global() argument
28 checkOption(& $match, $pattern, & $varAffected, $valIfFound) global() argument
35 checkRecurse(& $match, & $varAffected) global() argument
46 checkNbColumns(& $match, & $varAffected) global() argument
55 checkNbItemsMax(& $match, & $varAffected) global() argument
64 checkAnchorName(& $match, & $varAffected) global() argument
71 checkSimpleStringArgument(& $match, & $varAffected, $plugin, $argumentName) global() argument
80 checkDictOrder(& $match, & $varAffected, $plugin) global() argument
89 checkExclude(& $match, & $excludedPages, & $excludedNs, & $excludeSelfPage) global() argument
137 checkActualTitle(& $match, & $varAffected) global() argument
160 _removeFromMatch($matched, $match) global() argument
[all...]
H A Dsyntax.php44 function handle($match, $state, $pos, Doku_Handler $handler) {
48 $match = PhpString::substr($match, 8, -1); //9 = strlen("<nspages")
49 $match .= ' ';
51 optionParser::checkOption($match, "subns", $return['subns'], true);
52 optionParser::checkOption($match, "nopages", $return['nopages'], true);
53 optionParser::checkOption($match, "simpleListe?", $return['simpleList'], true);
54 optionParser::checkOption($match, "tree", $return['tree'], true);
55 optionParser::checkOption($match, "numberedListe?", $return['numberedList'], true);
56 optionParser::checkOption($match, "simpleLineBrea
41 handle($match, $state, $pos, Doku_Handler $handler) global() argument
[all...]
/plugin/autlogin/
H A Daction.php182 foreach($line as $match)
184 $match = SubStr($match,3,(strlen($match)));
185 $match = trim($match);
263 $match = trim($match);
264 if($line == $match){
405 $Version=$match[1];
484 ) $Version=$match[2];
526 $Version=$match[2];
529 $Version=$match[2];
533 $Version=$match[2];
[all …]
/plugin/condition/
H A Dsyntax.php72 $match = preg_replace('`^\s+`', '', $match); // trim heading whitespaces
84 while(($match{0} != '>') && ($match != '') && (($lvl == 0) || ($match{0} != ')')) && $continue) {
88 $match = substr($match, 1); // remove heading !
92 $match = substr($match, 1); // remove heading (
97 $match = substr($match, strlen($key)); // remove heading key
100 $match = substr($match, strlen($test)); // remove heading test
106 $match = substr($match, strlen($op)); // remove heading op
150 $match = substr($match, 1);
151 $value = substr($match, 0, strpos($match, '"'));
152 $match = substr($match, strlen($value) + 1);
[all …]
/plugin/calendoku/
H A Daction.php83 if (!strcmp($match[5], '-') || !strcmp($match[6], '-')) {
84 $newtext .= $match[1].':'.$match[2].$match[3].$match[4]."\n";
86 if (count($match[5]) == 1)
87 $match[5] = '0'.$match[5];
88 if (count($match[6]) == 1)
89 $match[6] = '0'.$match[6];
90 … $newtext .= $match[1].':'.$match[2].$match[3].$match[4].'T'.$match[5].$match[6].'00'."\n";
97 $newtext .= $match[1].':'.$match[2]."\n";
103 $newtext .= $match[1].':'.$match[2]."\n";
109 if ($inparse && preg_match('/^(.*)@@$/', $line, $match)) {
[all …]
/plugin/codemirror/dist/modes/
H A Dtroff.min.js1match("fB")||b.match("fR")||b.match("fI")||b.match("u")||b.match("d")||b.match("%")||b.match("&"))…
H A Drst.min.js1match(d)&&a.match(/\W+|$/,false))return"strong";if(a.match(e)&&a.match(/\W+|$/,false))return"em";i…
H A Djulia.min.js1match(/^#=/,false)){b.tokenize=D;return b.tokenize(a,b)}var c=b.leavingExpr;if(a.sol()){c=false}b.…
H A Doctave.min.js1match(/^.*%}/)){b.tokenize=m;return"comment"}a.skipToEnd();return"comment"}function m(n,o){if(n.ea…
H A Drpm.min.js1match(a)){return"tag"}if(d.match(b)){return"tag"}}if(d.match(c)){return"string"}d.next();return nu…
/plugin/zoom/
H A Dsyntax.php57 $match = substr($match,7,-2); //strip markup from start and end
62 if (substr($match,-1,1) == ' ') {
70 elseif (substr($match,-1,1) == ' ') {
73 elseif (substr($match,0,1) == '*') {
74 $match = substr($match,1);
75 if (substr($match,-1,1) == '*') {
76 $match = substr($match,0,-1);
84 elseif (substr($match,-1,1) == '*') {
85 $match = substr($match,0,-1);
125 $data['height'] = $match[1];
[all …]
/plugin/combo/ComboStrap/
H A DPluginUtility.php181 * Parse the attributes part of a match
189 * * as well as in the match of a {@link SyntaxPlugin}
194 * To parse a match, use {@link PluginUtility::getTagAttributes()}
234 public static function getTagAttributes(string $match, array $knownTypes = [], bool $allowFirstBooleanAttributesAsType = false): array argument
236 return self::getQualifiedTagAttributes($match, false, "", $knownTypes, $allowFirstBooleanAttributesAsType);
242 * @param $match
250 public static function getQualifiedTagAttributes($match, $hasThirdValue, $keyThirdArgument, array $knownTypes = [], bool $allowFirstBooleanAttributesAsType = false): array argument
253 $match = PluginUtility::getPreprocessEnterTag($match);
256 $spacePosition = strpos($match, " ");
601 getTagContent($match) global() argument
753 getMarkupTag($match) global() argument
876 handleAndReturnUnmatchedData($tagName, $match, \\Doku_Handler $handler) global() argument
904 getPreprocessEnterTag($match) global() argument
936 getSyntaxTagNameFromMatch($match) global() argument
[all...]
/plugin/codedoc/
H A Dspecials.php30 $match = trim(substr($match,10,-2));
31 $type = strtolower($match);
35 return array($match,$state);
41 list($match, $state) = $data;
52 elseif($match == 'timestamp') {
55 elseif($match == 'user') {
72 $match);
73 if(strpos($match, '<br') || strpos($match, '<BR') || strpos($match, "\n")) {
80 … $match = preg_replace("/<(b|em|code)>/", "<$1 class = 'codedoc_hilite'>",$match);
81 $renderer->doc .= $match;
[all …]
/plugin/hidden/
H A Dsyntax.php42 function handle($match, $state, $pos, Doku_Handler $handler) { argument
47 $match = trim(utf8_substr($match, 14, -1)); //14 = strlen("<hiddenSwitch ")
48 if ( $match !== '' ){
49 $return['text'] = $match;
68 $match = substr($match, 7, -1); //7 = strlen("<hidden")
71 preg_match("/initialState *= *\"([^\"]*)\" ?/i", $match, $initialState);
73 $match = str_replace($initialState[0], '', $match);
150 _grepOption(& $options, $tag, & $match) global() argument
[all...]
/plugin/extlist/
H A Dsyntax.php110 * get markup and depth from the match
112 * @param $match string
115 protected function interpret($match) argument
118 $depth = substr_count(str_replace("\t", ' ', ltrim($match,' ')),' ');
119 $match = trim($match);
124 if (preg_match('/^(-?\d+)([.:])/', $match, $matches)) {
131 $m += array('mk' => $match);
133 switch (substr($match, 0, 1)) {
139 if ($match
219 _writeCall($tag, $attr, $state, $pos, $match, $handler) global() argument
230 _openList($m, $pos, $match, $handler) global() argument
255 _closeList($m, $pos, $match, $handler) global() argument
267 _openItem($m, $pos, $match, $handler) global() argument
291 _closeItem($m, $pos, $match, $handler) global() argument
300 _openWrapper($m, $pos, $match, $handler) global() argument
322 _closeWrapper($m, $pos, $match, $handler) global() argument
344 _openParagraph($pos, $match, $handler) global() argument
352 _closeParagraph($pos, $match, $handler) global() argument
360 handle($match, $state, $pos, Doku_Handler $handler) global() argument
[all...]
/plugin/textinsert/
H A Dsyntax.php63 $match = substr($match,2,-2);
64 $match = trim($match);
103 },$match );
124 $match =$this->macros[$match];
131 $match = str_replace ($search , trim($substitutions[$i]), $match);
134 $match = $this->get_inserts($match,$translation);
137 $match = str_replace('&lt;','<',$match);
138 $match = str_replace('&gt;','>',$match);
188 $match = str_replace($pats[$i],$insert,$match);
197 $match = str_replace($e_keys,$e_values,$match);
[all …]
/plugin/jquery-syntax/jquery-syntax/
H A Djquery.syntax.core.js5 …gExp.prototype.indexOf){RegExp.indexOf=function(match,index){return match[0].indexOf(match[index])… argument
18match=matches[i];var offset=match.offset+linearOffsets[match.offset];var end=match.offset+match.le…
44 …plice=function(i,match){if(this.canHaveChild(match)){this.children.splice(i,0,match);match.parent=… argument
47 return top._insertWhole(match);}else{return this._insert(match);}}
48 Syntax.Match.prototype._insertWhole=function(match){var parts=this.bisectAtOffsets([match.offset,ma… argument
57match.offset<child.offset){if(match.force){return this._insert(match);}else{return null;}}else if(
60 return this._splice(i,match);if(match.offset>=child.endOffset)
61 continue;if(child.contains(match)){return child._insert(match);}
69 …var match=new Syntax.Match(start,offset-start,this.expression);match.value=this.value.substr(start…
70 prev=match;start=match.endOffset;parts.push(match);}
[all …]
/plugin/caption/syntax/
H A Dreference.php43 public function handle($match, $state, $pos, Doku_Handler $handler){
44 if (!(strpos($match,'{{ref>')===false)) {
45 return array($state, substr($match,6,-2));
53 list($state,$match) = $data;
58 $renderer->doc .= '<a href="#'.$match.'">';
59 if (isset($caption_labels[$match]) && $caption_labels[$match]) {
60 $renderer->doc .= $caption_labels[$match];
62 $renderer->doc .= '##REF:'.$match.'##';
72 list($state,$match)
52 handle($match, $state, $pos, Doku_Handler $handler) global() argument
[all...]
/plugin/bbcode/
H A Dsize.php29 function handle($match, $state, $pos, Doku_Handler $handler) { argument
32 $match = substr($match, 6, -1);
33 … if (preg_match('/".+?"/',$match)) $match = substr($match, 1, -1); // addition #1: unquote
34 …if (preg_match('/^[0-6]$/',$match)) $match = self::_relsz(intval($match) ); // addition #2: relati…
35 else if (preg_match('/^\d+$/',$match)) $match .= 'px';
36 return array($state, $match);
39 return array($state, $match);
53 list($state, $match) = $data;
56 $renderer->doc .= '<span style="font-size:'.$renderer->_xmlEntities($match).'">';
60 $renderer->doc .= $renderer->_xmlEntities($match);
/plugin/syntaxhighlighter/Uncompressed/
H A DshBrushXml.js29 var match = null;
43 while((match = regex.exec(this.code)) != null)
45 if(match[1] == null)
50 push(this.matches, new dp.sh.Match(match[1], match.index, 'attribute'));
53 if(match[2] != undefined)
55 …push(this.matches, new dp.sh.Match(match[2], match.index + match[0].indexOf(match[2]), 'attribute-…
66 while((match = regex.exec(this.code)) != null)
68 …push(this.matches, new dp.sh.Match(match[1], match.index + match[0].indexOf(match[1]), 'tag-name')…
/plugin/syntaxhighlighter/Scripts/
H A DshBrushXml.js13match=null;var regex=null;this.GetMatches(new RegExp('(\&lt;|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](…
14 {if(match[1]==null)
16 push(this.matches,new dp.sh.Match(match[1],match.index,'attribute'));if(match[2]!=undefined)
17 {push(this.matches,new dp.sh.Match(match[2],match.index+match[0].indexOf(match[2]),'attribute-value…
18 …,'tag');regex=new RegExp('(?:\&lt;|<)/*\\?*\\s*([:\\w-\.]+)','gm');while((match=regex.exec(this.co…
19 {push(this.matches,new dp.sh.Match(match[1],match.index+match[0].indexOf(match[1]),'tag-name'));}}

12345678910>>...74