Home
last modified time | relevance | path

Searched refs:match (Results 201 – 225 of 2354) sorted by relevance

12345678910>>...95

/plugin/mediasyntax/syntax/
H A Dlistblock.php43 function handle($match, $state, $pos, Doku_Handler $handler)
50 $handler->addCall('list_open', array($match), $pos);
59 $handler->addCall('list_item', array($match), $pos);
62 $handler->addCall('cdata', array($match), $pos);
78 function interpretSyntax($match, &$type)
80 $pos=strpos($match,"*");
83 $level = strlen(trim($match)); // Mediasyntax
54 handle($match, $state, $pos, Doku_Handler $handler) global() argument
90 interpretSyntax($match, & $type) global() argument
H A Dunderline.php35 function handle($match, $state, $pos, Doku_Handler $handler)
37 if ($state == DOKU_LEXER_UNMATCHED) return array($state,$match);
38 if ($state == DOKU_LEXER_ENTER) return array($state,$match);
39 if ($state == DOKU_LEXER_EXIT) return array($state,$match);
46 list($state,$match) = $data; argument
50 if ($state==DOKU_LEXER_UNMATCHED) $renderer->doc .= $match;
/plugin/codemirror/dist/modes/
H A Dsql.min.js1match(/^[xX][0-9a-fA-F]+/)||(c=="x"||c=="X")&&a.match(/^'[0-9a-fA-F]+'/))){return"number"}else if(…
H A Dtiddlywiki.min.js1match(l)){m.block=true;return o(b,m,s)}if(b.match(g))return"quote";if(b.match(e)||b.match(f))retur…
/plugin/keyboard/
H A Dsyntax.php45 function handle($match, $state, $pos, Doku_Handler $handler) { argument
57 $length = strlen($match);
59 !($match[0] == "'" && $match[$length-1] == "'")) {
60 $mpos = strpos($match, '-');
61 $ppos = strpos($match, '+');
68 $keys = explode($separator, $match);
71 $keys = array($match);
85 list($state, $match, $class) = $data;
95 foreach ($match as $key) {
124 list($state, $match, $class) = $data;
[all …]
/plugin/formatplus2/syntax/
H A Dblockdeleteplus.php66 function handle($match, $state, $pos, Doku_Handler $handler){ argument
69 $match = substr($match,4,-1);
70 if(!empty($match)){
71 if(preg_match("/^(.*) =(.*?) @(.*?)$/", $match, $matches)){
73 }elseif(preg_match("/^(.*) @(.*?) =(.*?)$/", $match, $matches)){
75 }elseif(preg_match("/^(.*) =(.*?)$/", $match, $matches)){
77 }elseif(preg_match("/^(.*) @(.*?)$/", $match, $matches)){
80 $output = array(trim($match),'','');
90 $output = $match;
/plugin/formatplus/syntax/
H A Dblockdeleteplus.php66 function handle($match, $state, $pos, &$handler){ argument
69 $match = substr($match,4,-1);
70 if(!empty($match)){
71 if(preg_match("/^(.*) =(.*?) @(.*?)$/", $match, $matches)){
73 }elseif(preg_match("/^(.*) @(.*?) =(.*?)$/", $match, $matches)){
75 }elseif(preg_match("/^(.*) =(.*?)$/", $match, $matches)){
77 }elseif(preg_match("/^(.*) @(.*?)$/", $match, $matches)){
80 $output = array(trim($match),'','');
90 $output = $match;
/plugin/editor/
H A Dsyntax.php28 function handle($match, $state, $pos, Doku_Handler $handler) { argument
31 $match = substr($match, 9, -2); // strip {{editor> from start and }} from end
32 list($match, $flags) = explode('&', $match, 2);
34 list($match, $refine) = explode(' ', $match, 2);
35 list($ns, $user) = explode('?', $match);
/plugin/xfortune/
H A Dsyntax.php43 function handle($match, $state, $pos, Doku_Handler $handler) { argument
44 $match = substr($match, 11, -2); //strip markup from start and end
49 list($cookie, $params) = explode('?', $match, 2);
56 if(preg_match('/\b(\d+)\b/i', $params, $match)) {
57 $data['time'] = (int) $match[1];
/plugin/fksnewsfeed/syntax/
H A Dstream.php15 public function handle($match, $state, $pos, Doku_Handler $handler): array { argument
18 preg_match_all('/([a-z]+)="([^".]*)"/', substr($match, 14, -2), $matches);
20 foreach ($matches[1] as $index => $match) {
21 $parameters[$match] = $matches[2][$index];
33 [$state, $match] = $data;
36 [$param] = $match;
/plugin/webcomponent/syntax/
H A Dcardcolumns.php100 * @param string $match
106 function handle($match, $state, $pos, Doku_Handler $handler) argument
114 $match = utf8_substr($match, 1, -1);
117 $match = str_replace( $tag, "",$match);
119 $parameters = webcomponent::parseMatch($match);
/plugin/flash/
H A Dsyntax.php54 function handle($match, $state, $pos, Doku_Handler $handler){ argument
65 $lines = explode("\n",$match);
71 if(preg_match('/\b(left|center|right)\b/i',$conf,$match)) $return['align'] = $match[1];
72 if(preg_match('/\b(\d+)x(\d+)\b/',$conf,$match)){
73 $return['width'] = $match[1];
74 $return['height'] = $match[2];
/plugin/manlink/
H A Dsyntax.php23 function handle($match, $state, $pos, Doku_Handler $handler){ argument
27 if (substr($match, 0, 1) == "!") {
28 $handler->_addCall('cdata', array(substr($match, 1)), $pos);
33 $manpage = preg_replace('/^([a-zA-Z0-9_+\[\].-]*)\(([0-9])\)$/', '\1', $match);
34 $section = preg_replace('/^([a-zA-Z0-9_+\[\].-]*)\(([0-9])\)$/', '\2', $match);
45 $handler->_addCall('externallink', array($target, $match), $pos);
/plugin/linebreak/
H A Dsyntax.php52 function handle($match, $state, $pos, &$handler){ argument
54 if (substr($match, 0, 12) == '~~LINEBREAK#') {
55 $marker = substr($match, 12,-3);
63 if ($match == "\n") return array($handler->status['plugin_linebreak']);
65 if ($match == $this->ptn_pageon) {
67 } else if ($match == $this->ptn_pageoff) {
/plugin/flowchartjs/
H A Dsyntax.php30 function handle($match, $state, $pos, Doku_Handler $handler){ argument
33 $style = trim(substr($match, 12, -1));
36 return array($state, $match);
43 list($state, $match) = $data;
46 $renderer->doc .= "<pre class='flowchartjs $match'>";
49 $renderer->doc .= $match;
/plugin/bibtex4dw/syntax/
H A Dbibtex.php51 public function handle($match, $state, $pos, Doku_Handler $handler){ argument
55 $matches = preg_split('/>/u', $match, 2);
62 return array($state, '', $match, $pos);
69 list($state, $substate, $match, $pos) = $data;
82 $bibtexrenderer->addBibtexToSQLite($match, $ID);
85 $renderer->doc .= $renderer->_xmlEntities($match);
90 // split $match line by line
91 $matches = preg_split("/\r?\n/", trim($match));
95 if ($option == trim($match)) {
96 continue; // No match
[all...]
/plugin/davcard/vendor/sabre/vobject/lib/Parser/
H A DMimeDir.php333 foreach($matches as $match) {
335 if (isset($match['paramValue'])) {
336 if ($match['paramValue'] && $match['paramValue'][0] === '"') {
339 $value = $match['paramValue'];
356 if (isset($match['paramName'])) {
363 if (isset($match['propValue'])) {
364 $property['value'] = $match['propValue'];
367 if (isset($match['name']) && $match['name']) {
494 foreach($matches as $match) {
496 switch ($match) {
[all …]
/plugin/webdavclient/vendor/sabre/vobject/lib/Parser/
H A DMimeDir.php333 foreach($matches as $match) {
335 if (isset($match['paramValue'])) {
336 if ($match['paramValue'] && $match['paramValue'][0] === '"') {
339 $value = $match['paramValue'];
356 if (isset($match['paramName'])) {
363 if (isset($match['propValue'])) {
364 $property['value'] = $match['propValue'];
367 if (isset($match['name']) && $match['name']) {
494 foreach($matches as $match) {
496 switch ($match) {
[all …]
/plugin/davcal/vendor/sabre/vobject/lib/Parser/
H A DMimeDir.php333 foreach($matches as $match) {
335 if (isset($match['paramValue'])) {
336 if ($match['paramValue'] && $match['paramValue'][0] === '"') {
339 $value = $match['paramValue'];
356 if (isset($match['paramName'])) {
363 if (isset($match['propValue'])) {
364 $property['value'] = $match['propValue'];
367 if (isset($match['name']) && $match['name']) {
494 foreach($matches as $match) {
496 switch ($match) {
[all …]
/plugin/bbcode/
H A Dulist.php29 function handle($match, $state, $pos, Doku_Handler $handler){ argument
35 return array($state, $match);
49 list($state, $match) = $data;
56 $match = $renderer->_xmlEntities($match);
57 … $renderer->doc .= str_replace('[*]', '</div></li><li class="level1"><div class="li">', $match);
/plugin/dirtylittlehelper/syntax/
H A Ddivwiki.php58 * @param string $match The match of the syntax
65 public function handle($match, $state, $pos, Doku_Handler $handler) argument
68 if( substr($match,0,3) =='<dl'){
69 return array($state, 'BEGIN',$match);
71 }elseif( substr($match,0,3) =='</d'){
72 return array($state, '/END',$match);
/plugin/bez/syntax/
H A Dquery.php27 public function handle($match, $state, $pos, Doku_Handler $handler){ argument
30 return array($state, $match);
32 case DOKU_LEXER_UNMATCHED : return array($state, $match);
42 list($state,$match) = $data;
46 $renderer->doc .= "QUERY: ".htmlspecialchars($match)."";
51 $renderer->doc .= $renderer->_xmlEntities($match);
/plugin/pgn4web/pgn4web/
H A Dengine.js23 if (window.location.search.match(thisRegExp) !== null) {
27 if (window.location.search.match(thisRegExp) !== null) {
28 pgn4web_engineWindowTarget = unescape(window.location.search.match(thisRegExp)[3]);
31 if (window.location.search.match(thisRegExp) !== null) {
32 pgn4web_engineWindowUrlParameters = unescape(window.location.search.match(thisRegExp)[3]);
35 if (window.location.search.match(thisRegExp) !== null) {
36 pgn4web_engineWindowHeight = parseInt(unescape(window.location.search.match(thisRegExp)[3]), 10);
39 if (window.location.search.match(thisRegExp) !== null) {
40 pgn4web_engineWindowWidth = parseInt(unescape(window.location.search.match(thisRegExp)[3]), 10);
70 …if ((typeof(gameVariant[currentGame]) == "undefined") || (gameVariant[currentGame].match(/^\s*(|ch…
/plugin/pageredirect/
H A Dsyntax.php56 * Usually you should only need the $match param.
58 * @param string $match The text matched by the patterns
59 * @param int $state The lexer state for the match
64 public function handle($match, $state, $pos, Doku_Handler $handler) {
66 $match = trim($match);
68 // extract target page from match pattern
69 if($match[0] == '#') {
71 $id = substr($match, 10);
74 $id = substr($match, 1
62 handle($match, $state, $pos, Doku_Handler $handler) global() argument
[all...]
/plugin/dokuprism/syntax/
H A Dcode.php47 function handle($match, $state, $pos, Doku_Handler $handler){ argument
50 $match = trim(substr($match, 5, -1)); //5 = strlen("<code")
53 return array($match, $state, $pos);
60 list($match, $state, $pos) = $data;
64 $language = $renderer->_xmlEntities($match);
68 $renderer->doc .= trim($renderer->_xmlEntities($match));

12345678910>>...95