Home
last modified time | relevance | path

Searched refs:match (Results 151 – 175 of 2354) sorted by relevance

12345678910>>...95

/plugin/pagelist/
H A Dsyntax.php39 * Handle the match
41 * @param string $match The text matched by the patterns
42 * @param int $state The lexer state for the match
47 public function handle($match, $state, $pos, Doku_Handler $handler) argument
51 $match = substr($match, 9, -11); // strip markup
52 list($flags, $match) = array_pad(explode('>', $match, 2), 2, null);
54 $items = explode('*', $match);
59 if (!preg_match('/\[\[(.+?)]]/', $items[$i], $match)) continu
[all...]
/plugin/bbs/
H A Dsyntax.php29 function handle($match, $state, $pos, &$handler){ argument
30 return substr($match,5,-6);
76 function _bbs_parse_tag($match) { argument
77 if ($match[2]!='m') return '';
79 $args = explode(';',$match[1]);
120 function _bbs_parse_link($match) { argument
121 $url = preg_replace( "/<.*?>/", '', $match[0]);
122 return '<a class="' . $match[1] . '" href="' . $url . '">' . $match[0] . '</a>';
125 function _bbs_uao_to_unicode($match) { argument
128 $replaced = $uao_list[$match[0]];
[all …]
/plugin/pageredirect/
H A Daction.php209 public function rewrite_redirect($match, $state, $pos, $plugin, helper_plugin_move_handler $handler) { argument
211 if ($metadata[1]) return $match; // Fail-safe for external redirection (Do not rewrite)
213 $match = trim($match);
215 if (substr($match, 0, 1) == "~") {
219 $match = substr($match, 2, strlen($match) - 4);
221 list($syntax, $src, $anchor) = array_pad(preg_split("/>|#/", $match), 3, "");
237 } else if (substr($match,
[all...]
/plugin/codemirror/dist/modes/
H A Dstex.min.js1match(/^\\[a-zA-Z@]+/)){var g=a.current().slice(1);e=h.hasOwnProperty(g)?h[g]:h["DEFAULT"];e=new e…
H A Dtroff.min.js.map1match","skipTo","eatWhile","eat","skipToEnd","cur","current","hasOwnProperty","tokenize","state","…
H A Dspreadsheet.min.js1match(/^.[^\\\"\']*/)}}return"string";case"characterClass":while(b.stack[0]==="characterClass"&&!a…
/plugin/pureldap/classes/
H A DADClient.php105 public function getGroups($match = null, $filtermethod = self::FILTER_EQUAL)
112 if ($match !== null) {
115 $match = ltrim($match, '^');
116 $match = rtrim($match, '$');
117 $match = stripslashes($match);
119 $filter->add(Filters::$filtermethod('cn', $match));
148 * @param array $match
51 getGroups($match = null, $filtermethod = self FILTER_EQUAL) global() argument
98 getFilteredUsers($match, $filtermethod = self FILTER_EQUAL) global() argument
[all...]
/plugin/struct/meta/
H A DFilterValueListHandler.php23 * @param string match contains the text that was matched
24 * @param int state - the type of match made (see below)
25 * @param int pos - byte index where match was made
27 public function row($match, $state, $pos) argument
49 * @param string match contains the text that was matched
50 * @param int state - the type of match made (see below)
51 * @param int pos - byte index where match was made
53 public function singleQuoteString($match, $state, $pos) argument
56 $this->token .= $match;
62 * @param string match contain
68 escapeSequence($match, $state, $pos) global() argument
80 number($match, $state, $pos) global() argument
[all...]
/plugin/admnote/syntax/
H A Drenderer.php69 * @param string $match The match of the syntax
76 public function handle($match, $state, $pos, Doku_Handler $handler) { argument
89 $match = trim(str_replace(array('<','>'),'',$match));
90 $match = preg_replace('/ +/',' ',$match);
91 $words = explode(' ',$match);
107 $data = array($state, $match);
111 $data = array($state, $match);
/plugin/pagestat/syntax/
H A Dedit.php28 public function handle($match, $state, $pos, Doku_Handler $handler){ argument
31 $match = trim(substr($match,3,-1));
32 $arg_list = explode(" ",$match);
36 case DOKU_LEXER_UNMATCHED : return array($state, $match);
46 list($state,$match,$count) = $data;
49 $arg_list = $match;
68 $renderer->doc .= $renderer->_xmlEntities($match);
H A Deditpt.php29 public function handle($match, $state, $pos, Doku_Handler $handler){ argument
32 $match = trim(substr($match,3,-1));
33 $arg_list = explode(" ",$match);
37 case DOKU_LEXER_UNMATCHED : return array($state, $match);
47 list($state,$match,$count) = $data;
50 $arg_list = $match;
69 $renderer->doc .= $renderer->_xmlEntities($match);
/plugin/bbcode/
H A Dversalitas.php28 function handle($match, $state, $pos, Doku_Handler $handler) { argument
31 $match = substr($match, 3, -1);
32 return array($state, $match);
35 return array($state, $match);
49 list($state, $match) = $data;
56 $renderer->doc .= $renderer->_xmlEntities($match);
/plugin/struct/helper/
H A Dconfig.php62 if (!preg_match('/^(.*?)(' . $comps . ')(.*)$/', $val, $match)) {
65 array_shift($match); // we don't need the zeroth match
66 $match[0] = trim($match[0]);
67 $match[2] = trim($match[2]);
68 return $match;
/plugin/adhoctags/syntax/
H A Dabstract.php80 function handleEnterSpecial($match, $state, $pos, Doku_Handler $handler) { argument
82 //dbg('handleEnterSpecial: "' . $match );
84 $data = trim(substr($match,strpos($match,' '),-1)," \t\n/");
88 function handleUnmatched($match, $state, $pos, Doku_Handler $handler) { argument
91 //dbg('handleUnmatched: "' . $match );
93 if (substr($match, 0, 2) == '==') { // special case: it's a headline
94 $title = trim($match);
104 $handler->addCall('cdata', array($match), $pos);
109 function handleMatched($match, argument
114 handleExit($match, $state, $pos, Doku_Handler $handler) global() argument
125 handle($match, $state, $pos, Doku_Handler $handler) global() argument
[all...]
/plugin/abbr/syntax/
H A Dhtmltag.php35 public function handle($match, $state, $pos, Doku_Handler $handler) { argument
41 return array($state, $match);
53 list($state, $match) = $data;
54 $match = $data[1];
58 $renderer->doc .= $match;
63 $renderer->doc .= $renderer->_xmlEntities($match);
66 $renderer->doc .= $match;
/plugin/dirtylittlehelper/syntax/
H A Dmermaid.php62 * @param string $match The match of the syntax
69 public function handle($match, $state, $pos, Doku_Handler $handler) argument
75 if($match=='<dlh.mm>'){
76 return array($state, 'MERMAID',$match);
80 return array($state, 'UNMATCHED', $match);
83 if($match=='</dlh.mm>'){
84 return array($state, '/MERMAID',$match);
H A Dstyle.php62 * @param string $match The match of the syntax
69 public function handle($match, $state, $pos, Doku_Handler $handler) argument
75 if($match=='<dlh.style>'){
76 return array($state, 'STYLE',$match);
80 return array($state, 'UNMATCHED', $match);
83 if($match=='</dlh.style>'){
84 return array($state, '/STYLE',$match);
H A Ddivhtml.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);
/plugin/indexmenu/syntax/
H A Dtag.php45 * Handle the match
47 * @param string $match The text matched by the patterns
48 * @param int $state The lexer state for the match
53 public function handle($match, $state, $pos, Doku_Handler $handler)
55 $match = substr($match, 14, -2);
56 $match = str_replace("\xE2\x80\x8B", "", $match);
57 return [$match];
43 handle($match, $state, $pos, Doku_Handler $handler) global() argument
/plugin/creole/syntax/
H A Dmonospace.php46 function handle($match, $state, $pos, Doku_Handler $handler) { argument
58 … $this->eventhandler->notifyEvent('open', 'monospace', 'dw-monospace', $pos, $match, $handler);
61 … $this->eventhandler->notifyEvent('open', 'monospace', 'creole-monospace', $pos, $match, $handler);
66 $handler->addCall('cdata', array($match), $pos);
70 … $this->eventhandler->notifyEvent('close', 'monospace', 'dw-monospace', $pos, $match, $handler);
73 …$this->eventhandler->notifyEvent('close', 'monospace', 'creole-monospace', $pos, $match, $handler);
94 public function onHeaderCallback (creole_syntax_event $myEvent, $pos, $match, $handler) { argument
95 … $this->eventhandler->notifyEvent('close', 'monospace', 'dw-monospace', $pos, $match, $handler);
101 …->eventhandler->writeCall('creole_monospace', DOKU_LEXER_EXIT, NULL, NULL, $pos, $match, $handler);
/plugin/foldablelist/
H A Dsyntax.php62 * @param string $match The match of the syntax
68 public function handle($match, $state, $pos, Doku_Handler $handler){ argument
77 … $parameters = trim(substr($match, 13, -1)); // get string between "<foldablelist" and ">"
79 … return array($state, $match, false); // no parameters given, dont bother with extra work
99 return array($state, $match, $params_arr);
102 return array($state, $match, false);
119 list($state, $match, $parameters) = $data;
132 $renderer->doc .= $renderer->_xmlEntities($match);
138 $renderer->doc.= 'MATCH: '.$renderer->_xmlEntities($match);
/plugin/yuriigantt/src/Driver/Embedded/
H A DHandler.php92 * @param string $match matched syntax
100 public function plugin($match, $state, $pos, $pluginname) argument
102 $data = array($match);
106 $data = $plugin->handle($match, $state, $pos, $this);
109 $this->addPluginCall($pluginname, $data, $state, $pos, $match);
122 * @param string $match matched syntax
124 public function addPluginCall($plugin, $args, $state, $pos, $match) argument
126 $call = array('plugin', array($plugin, $args, $state, $match), $pos);
/plugin/icons/syntax/
H A Dicon.php52 * @param string $match The text matched by the patterns
66 $match = substr($match, 2, -2); // strip markup
68 @list($match, $title, $title2) = explode('|', $match);
74 $url = $match;
75 $match = $title;
77 $match = substr($match, 2, -2); // strip markup
78 list($match, $title) = explode('|', $match);
89 if (substr($match, 0, 1) == ' ') {
94 if (substr($match, -1, 1) == ' ') {
104 list($match, $flags) = explode('?', trim($match), 2);
[all …]
/plugin/definitionlist/
H A Dsyntax.php83 public function handle($match, $state, $pos, Doku_Handler $handler) { argument
93 $newtag = (substr(rtrim($match), -1) == DL_DT) ? 'dt' : 'dd';
107 $this->_writeCall('dl',DOKU_LEXER_EXIT,$pos,$match,$handler);
126 protected function _writeCall($tag, $state, $pos, $match, &$handler) { argument
146 list ($tag, $state, $match) = $data;
153 $renderer->cdata($match);
170 list($tag,$state,$match) = $data;
196 list ($tag, $state, $match) = $data;
208 $renderer->cdata($match);
231 list ($tag, $state, $match) = $data;
[all …]
/plugin/register/
H A Dsyntax.php38 public function handle($match, $state, $pos, &$handler) argument
61 private function get_output_pieces(&$renderer, $match) argument
66 $hash = md5(serialize($match));
91 private function parse_match(&$renderer, $match) argument
96 $lines = explode("\n", $match);
105 return $this->parse_match_xml($renderer, $match);
131 private function parse_match_xml(&$renderer, $match) argument
135 $lines = explode("\n", $match);
190 $ret = $this->parse_match($renderer, $match);
235 list($state, $match) = $data;
[all …]

12345678910>>...95