Home
last modified time | relevance | path

Searched refs:match (Results 101 – 125 of 2354) sorted by relevance

12345678910>>...95

/plugin/mediasyntax/syntax/
H A Dcodeblock.php44 function handle($match, $state, $pos, Doku_Handler $handler)
46 // $match2 = $match, but cut one blank at the beginning of every line.
48 for ($i = 1; $i < strlen($match); $i++) {
49 if ($match[$i - 1] == "\n" && $match[$i] == " ") {;
50 } else $match2 .= $match[$i];
76 list($state, $match) = $data;
77 $match = $data[1];
81 //$renderer->doc .= "enter$match";
83 //$renderer->doc .= "<pre>$match</pr
51 handle($match, $state, $pos, Doku_Handler $handler) global() argument
[all...]
/plugin/alertbox/
H A Dsyntax.php22 function handle($match, $state, $pos, &$handler){ argument
27 if (strpos($match, 'warning') != false) {
29 } elseif (strpos($match, 'info') != false) {
31 } elseif (strpos($match, 'danger') != false) {
33 } elseif (strpos($match, 'success') != false) {
38 case DOKU_LEXER_UNMATCHED : return array($state, $match);
47 list($state, $match) = $data;
50 $renderer->doc .= "<div class='alert $match'>";
53 case DOKU_LEXER_UNMATCHED : $renderer->doc .= $renderer->_xmlEntities($match); break;
/plugin/markdowku/
H A Dautolinks.php24 function handle($match, $state, $pos, Doku_Handler $handler) { argument
25 if (preg_match('/^<mailto:/', $match)) {
26 $match = substr($match, 8, -1);
27 $handler->_addCall('emaillink', array($match, NULL), $pos);
29 $match = substr($match, 1, -1);
30 $handler->_addCall('externallink', array($match, NULL), $pos);
/plugin/codemirror/dist/modes/
H A Dyaml.min.js1match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(c.literal&&a.indentation()>c.keyCol){a…
H A Djinja2.min.js1match(d)){return"atom"}if(f.match(e)){return"number"}}if(g.sign){g.sign=false;if(f.match(d)){retur…
/plugin/ckgdoku/scripts/
H A Dparse_wiki-cmpr.js1match(i)){return true}i=new RegExp("(\\{\\{(.*?)\\.\\w{2,4})\\|\\<font");if(r.match(i)){return tru…
/plugin/discussion/syntax/
H A Dcomments.php51 * @param string $match The text matched by the patterns
57 function handle($match, $state, $pos, Doku_Handler $handler) { argument
60 $match = substr($match, 12, -2);
63 list($match, $title) = explode('|', $match, 2);
66 if ($match == ':off') $status = 0;
67 else if ($match == ':closed') $status = 2;
/plugin/findologicxmlexport/vendor/twig/twig/src/Test/
H A DIntegrationTestCase.php113 $message = $match[1];
114 $condition = $match[2];
116 $exception = $match[5];
117 $outputs = [[null, $match[4], null, '']];
119 $message = $match[1];
120 $condition = $match[2];
159 foreach ($outputs as $i => $match) {
163 ], $match[2] ? eval($match[2].';') : []);
225 $expected = trim($match[3], "\n ");
249 foreach ($matches as $match) {
[all …]
/plugin/seqdia/
H A Dsyntax.php49 function handle($match, $state, $pos, &$handler) { argument
63 $lines = explode("\n",$match);
68 if(preg_match('/\b(left|center|right)\b/i',$conf,$match)) $return['align'] = $match[1];
69 if(preg_match('/\b(\d+)x(\d+)\b/',$conf,$match)){
70 $return['width'] = $match[1];
71 $return['height'] = $match[2];
73 …(default|rose|qsd|napkin|vs2010|mscgen|omegapple|modern-blue|earth|roundgreen)\b/i',$conf,$match)){
74 $return['style'] = strtolower($match[1]);
76 if(preg_match('/\bwidth=([0-9]+)\b/i', $conf,$match)) $return['width'] = $match[1];
77 if(preg_match('/\bheight=([0-9]+)\b/i', $conf,$match)) $return['height'] = $match[1];
/plugin/autolink4/syntax/
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/ckgedit/scripts/
H A Dparse_wiki-cmpr.js1match(i)){return true}i=new RegExp("(\\{\\{(.*?)\\.\\w{2,4})\\|\\<font");if(r.match(i)){return tru…
/plugin/struct/meta/
H A DSearchConfig.php141 if (preg_match('/^(.*?)(?:\$STRUCT\.(.*?)\$)(.*?)$/', $filter, $match)) {
142 $filter = $this->applyFilterVarsStruct($match);
143 } elseif (preg_match('/^(.*?)(?:\$USER\.(.*?)\$)(.*?)$/', $filter, $match)) {
144 $filter = $this->applyFilterVarsUser($match);
145 } elseif (preg_match('/^(.*?)(?:\$DATE\((.*?)\)\$?)(.*?)$/', $filter, $match)) {
146 $toparse = $match[2];
164 * @param string $match
167 protected function applyFilterVarsStruct($match)
171 $key = $match[2];
202 $filter[] = $match[ argument
152 applyFilterVarsStruct($match) global() argument
[all...]
/plugin/subjectindex/plugins/
H A DEntryDefault.php41 function match($text) { function in SI_EntryDefault
46 foreach ($matches as $match) {
48 $item['section'] = ( ! empty($match[1])) ? $match[1] : $this->section;
54 $item['entry'] = $match[2];
55 if (isset($match[3])) {
56 $item['display'] = $match[3];
57 $item['star'] = ($match[4] == '*');
/plugin/color/
H A Dsyntax.php28 function handle($match, $state, $pos, Doku_Handler $handler){ argument
31 $str = substr($match, 6, -1);
42 case DOKU_LEXER_UNMATCHED : return array($state, $match);
53 list($state, $match) = $data;
56 list($color, $background) = $match;
60 case DOKU_LEXER_UNMATCHED : $renderer->doc .= $renderer->_xmlEntities($match); break;
66 list($state, $match) = $data;
69 list($color, $background) = $match;
76 $renderer->cdata($match);
88 list($state, $match) = $data;
[all …]
/plugin/creole/syntax/
H A Dlistblock.php52 function handle($match, $state, $pos, Doku_Handler $handler) { argument
55 $this->eventhandler->notifyEvent('open', 'list', NULL, $pos, $match, $handler);
58 $handler->addCall('list_open', array($match), $pos);
61 $this->eventhandler->notifyEvent('close', 'list', NULL, $pos, $match, $handler);
68 $handler->addCall('list_item', array($match), $pos);
71 $handler->addCall('cdata', array($match), $pos);
86 function interpretSyntax($match, &$type) { argument
87 if (substr($match,-1) == '*') $type = 'u';
89 $level = strlen(trim($match)); // Creole
91 $c = count(explode(' ',str_replace("\t",' ',$match)));
/plugin/caption/syntax/
H A Dcaption.php72 public function handle($match, $state, $pos, Doku_Handler $handler){
75 $match = substr($match,1,-1);
76 return array($state, $match);
78 return array($state, $match);
80 return array($state, $match);
82 $match = substr($match,1,-1);
83 return array($state, $match);
85 if (!(strpos($match,'{{setcounte
81 handle($match, $state, $pos, Doku_Handler $handler) global() argument
[all...]
/plugin/passwordgrey/syntax/
H A Dpasswordgrey.php52 * @param string $match The match of the syntax
59 public function handle($match, $state, $pos, Doku_Handler $handler) { argument
68 return array($state, $match);
87 list($state, $match) = $data;
90 list($color, $background) = $match;
97 $renderer->doc .= $renderer->_xmlEntities($match);
108 list($state, $match) = $data;
111 list($color, $background) = $match;
118 $renderer->cdata($match);
[all...]
/plugin/emoji/
H A Dsyntax.php37 public function isShortCode($match) { argument
38 return isset($this->shortcode_replace[$match]);
41 public function replaceShortCode($match) { argument
42 return $this->shortcode_replace[$match];
102 $match = str_replace("\xEF\xB8\x8F", "", $match);
103 $unicode = $this->toUnicode($match);
104 return array($match,$unicode);
108 list($match,$unicode) = $data;
111 if($this->ruleset->isShortCode($match))
117 if($this->ruleset->isShortCode($match))
[all …]
/plugin/graphviz/
H A Dsyntax.php48 function handle($match, $state, $pos, Doku_Handler $handler) { argument
61 $lines = explode("\n",$match);
66 if(preg_match('/\b(left|center|right)\b/i',$conf,$match)) $return['align'] = $match[1];
67 if(preg_match('/\b(\d+)x(\d+)\b/',$conf,$match)){
68 $return['width'] = $match[1];
69 $return['height'] = $match[2];
71 if(preg_match('/\b(dot|neato|twopi|circo|fdp)\b/i',$conf,$match)){
72 $return['layout'] = strtolower($match[1]);
74 if(preg_match('/\bwidth=([0-9]+)\b/i', $conf,$match)) $return['width'] = $match[1];
75 if(preg_match('/\bheight=([0-9]+)\b/i', $conf,$match)) $return['height'] = $match[1];
/plugin/annotate/
H A Danno.php70 function handle($match, $state, $pos, Doku_Handler $handler){ argument
74 …$match = str_replace(array(':', ';', '[' , ']'), array('_'," ","",""),substr($match,2,-1));
75 return array($state, $match);
81 $match = preg_replace("/<top>.*?<\/top>/ms", "\n$text\n",$match);
88 $match = preg_replace("/<bottom>.*?<\/bottom>/ms", "\\\\\\ $text",$match);
91 return array($state, $match);
94 $inner = substr($match,6,-7);
243 if(preg_match("/(anno_li_(\d))/",$_list[$i],$match)) {
244 if($match[1] == 'anno_li_1') {
249 $b = $match[1]; // anno_li_<n>
[all …]
/plugin/calendoku/syntax/
H A Dshowtable.php31 function handle($match, $state, $pos, &$handler) { argument
32 $match = preg_replace('/^\{\{calendoku(.*)\}\}/', '\1', $match);
36 if (preg_match('/(?<=>)\s*FIELDS=(.*?)(?=>)/', $match, $fieldsstr)) {
51 if (preg_match('/(?<=>)\s*TYPE=(.*?)(?=>)/', $match, $typestr)) {
61 if (preg_match('/(?<=>)\s*START=(.*?)(?=>)/', $match, $startstr)) {
71 if (preg_match('/(?<=>)\s*END=(.*?)(?=>)/', $match, $endstr)) {
83 if (!preg_match('/(?<=>)\s*NAMESPACE=(.*?)(?=>)/', $match, $namespacestr))
157 foreach ($matches[1] as $match) {
158 $sfield = preg_replace('/@@(.*)@@/', '\1', $match);
160 $field = preg_replace('/'.$match.'/', $pagename, $field);
[all …]
/plugin/randomtables/table-roller/src/Table/
H A DBaseTable.php29 if (preg_match('/^(\d+)\:(.*)$/', $entry, $match)) {
30 $this->options[(int)$match[1]] = trim($match[2]);
31 } elseif (preg_match('/^(\d+)\-(\d+)\:(.*)$/', $entry, $match)) {
32 foreach(range($match[1], $match[2]) as $key) {
33 $this->options[$key] = $match[3];
67 $result = preg_replace_callback('/\[([^]]+)\]/', function($match) {
68 $options = explode('|', $match[1]);
76 $result = preg_replace_callback('/{(\d*)[Dd](\d+)(\+|\-)?(\d+)?}/', function($match) {
[all...]
/plugin/calendoku/
H A Dhelper.php378 $day = $match[1];
380 $year = $match[3];
386 $day = $match[1];
390 $year = $match[1];
392 $day = $match[3];
396 $year = $match[1];
402 $year = $match[1];
404 $day = $match[3];
407 $year = $match[1];
417 $hour = $match[1];
[all …]
/plugin/pagestat/syntax/
H A Dword.php30 public function handle($match, $state, $pos, Doku_Handler $handler){ argument
33 $match = trim(substr($match,9,-1));
34 return array($state, $match);
36 case DOKU_LEXER_UNMATCHED : return array($state, $match);
49 list($state,$match) = $data;
52 …>doc .= '<span class="pg_show_wl">Wordlist:</span><div class="wordlist" id="wordlist_'.$match.'">';
56 $renderer->doc .= $renderer->_xmlEntities($match);
/plugin/fontsize/
H A Dsyntax.php39 function handle($match, $state, $pos, &$handler){ argument
42 if ($match{1} == '#')
43 $size = (strlen($match)*20)+80 .'%';
45 $size = 120-(strlen($match)*20) . '%';
47 case DOKU_LEXER_UNMATCHED: return array($state, $match);
55 list($state, $match) = $data;
58 $renderer->doc .= "<span style='font-size:$match;'>"; break;
60 $renderer->doc .= $renderer->_xmlEntities($match); break;

12345678910>>...95