/plugin/codify/ |
H A D | syntax.php | 23 public function handle($match, $state, $pos, Doku_Handler $handler) { argument 25 $attributes = trim(substr($match, 7, -1)); 27 $match = $chunk[0]; 30 return array($state, $match); 36 list($state, $match) = $data; 40 $lang = (empty($match)) ? '' : "language-{$match}"; 47 $match = ltrim($match); 48 $renderer->doc .= $renderer->_xmlEntities($match);
|
/plugin/findologicxmlexport/vendor/twig/twig/src/ |
H A D | Lexer.php | 217 $this->moveCursor($match[0]); 228 $this->moveCursor($match[0]); 239 $this->moveCursor($match[0]); 249 $this->moveCursor($match[0]); 254 $this->moveCursor($match[0]); 263 $this->moveCursor($match[0]); 289 $this->moveCursor($match[0]); 295 $this->moveCursor($match[0]); 329 … $this->moveCursor(substr($this->code, $this->cursor, $match[0][1] - $this->cursor).$match[0][0]); 337 $this->moveCursor($match[0]); [all …]
|
/plugin/sketchcanvas/ |
H A D | syntax.php | 32 * Handle the match 34 function handle($match, $state, $pos, Doku_Handler $handler){ argument 37 return array($state, array(true, $this->generator, 'bytepos_start' => $pos + strlen($match))); 39 case DOKU_LEXER_UNMATCHED : return array($state, $match); 50 list($state, $match) = $data; 53 list($active, $num) = $match; 62 $class = $renderer->startSectionEdit($match['bytepos_start'], $sectionEditData); 84 list($active) = $match; 89 $renderer->doc .= urlencode($match); 91 $renderer->doc .= $renderer->_xmlEntities($match); [all...] |
/plugin/top/ |
H A D | syntax.php | 39 * @param string $match The match of the syntax 45 public function handle($match, $state, $pos, Doku_Handler $handler) { argument 48 $match = rtrim($match,'\}'); 49 $match = substr($match,5); 50 if ($match != '') { 51 $match = ltrim($match,'\|'); 52 $match = explode(",", $match); 53 foreach($match as $option) {
|
/plugin/codemirror/dist/modes/ |
H A D | sass.min.js | 1 …match(/\s+$/,false)}function p(a,b){var c=a.peek();if(c===")"){a.next();b.tokenizer=v;return"opera…
|
H A D | mscgen.min.js | 1 …match(d(a.brackets),true,true)){return"bracket"}if(!e.inComment){if(b.match(/\/\*[^\*\/]*/,true,tr…
|
H A D | stylus.min.js | 1 …match(/(^[\w-]+\s*=\s*$)|(^\s*[\w-]+\s*=\s*[\w-])|(^\s*(\.|#|@|\$|\&|\[|\d|\+|::?|\{|\>|~|\/)?\s*[…
|
H A D | protobuf.min.js | 1 …match("//")){a.skipToEnd();return"comment"}if(a.match(/^[0-9\.+-]/,false)){if(a.match(/^[+-]?0x[0-…
|
/plugin/bbcode/ |
H A D | email.php | 26 function handle($match, $state, $pos, Doku_Handler $handler) { argument 27 $match = trim(substr($match, 7, -8)); 28 $match = preg_split('/\]/u',$match,2); 29 if ( !isset($match[0]) ) { 30 $url = $match[1]; 33 $url = $match[0]; 34 $title = $match[1];
|
H A D | image.php | 26 function handle($match, $state, $pos, Doku_Handler $handler) { argument 27 $match = trim(substr($match, 5, -6)); 28 $match = preg_split('/\]/u',$match,2); 29 if ( !isset($match[0]) ) { 30 $url = $match[1]; 33 $url = $match[0]; 34 $title = $match[1];
|
/plugin/rating/ |
H A D | syntax.php | 38 function handle($match, $state, $pos, Doku_Handler $handler) { argument 41 $match = rtrim($match,'\}'); 42 $match = substr($match,8); 43 if ($match != '') { 44 $match = ltrim($match,'\|'); 45 $match = explode(",", $match); 46 foreach($match as $option) {
|
/plugin/tablewidth/ |
H A D | action.php | 27 if (preg_match_all($pattern, $event->data[1], $match, $flags) > 0) { 31 foreach ($match as $data) { 46 preg_match('/<!-- table-width ([^\n]+?) -->/', $data[1][0], $match); 48 $width = preg_split('/\s+/', $match[1]); 65 preg_match('/^([^\n]*<table)(.*?)(>)$/', $html, $match); 67 $entry = $match[1]; 68 $attributes = $match[2]; 69 $exit = $match[3]; 72 if (preg_match('/(.*?style\s*=\s*(["\']).*?)(\2.*)/', $attributes, $match) == 1) { 73 $attributes = $match[1] . '; ' . $widthStyle . $match[3];
|
/plugin/txt2tags/ |
H A D | syntax.php | 40 function handle($match, $state, $pos, &$handler) { argument 45 $match = "\n\n\n%!includeconf: lib/plugins/txt2tags/config.t2t \n".$match ; 46 $x = new T2T($match); 60 list($state,$match) = $data; 64 $match = $this->_toc($renderer, $match); 65 $renderer->doc .= $match; 73 list($state,$match) = $data; 78 $renderer->meta['title'] = $this->_t2t_header($match); 85 $internallinks = $this->_internallinks($match); 141 if (preg_match('/h([1-7])/',$node->tagName,$match)) [all …]
|
/plugin/aclinfo/ |
H A D | syntax.php | 51 function handle($match, $state, $pos, Doku_Handler $handler){ argument 52 $match = substr($match,10,-2); 53 return array($match); 93 foreach($matches as $match){ 94 $match = preg_replace('/#.*$/','',$match); //ignore comments 95 $acl = preg_split('/\s+/',$match); 111 foreach($matches as $match){ 112 $match = preg_replace('/#.*$/','',$match); //ignore comments 113 $acl = preg_split('/\s+/',$match);
|
/plugin/dokucrypt2/ |
H A D | syntax.php | 70 public function handle($match, $state, $pos, Doku_Handler $handler) argument 76 if (($x=strpos($match, "LOCK="))!==false) { 78 if (($end=strpos($match, " ", $x))!==false) { 83 $attr["lock"]=substr($match, $x, $len); 85 if (($x=strpos($match, "COLLAPSED="))!==false) { 87 if (($end=strpos($match, " ", $x))!==false) { 92 $attr["collapsed"]=substr($match, $x, $len); 95 case DOKU_LEXER_UNMATCHED: return array($state, $match); 107 list($state, $match) = $data; 110 $this->curLock=$match; [all …]
|
/plugin/latexit/classes/ |
H A D | BibHandler.php | 68 preg_match('#([usergop]*)id =([ \d]*)#', $zotero_config, $match); 69 $this->type = trim($match[1]) . "s"; 70 $this->id = trim($match[2]); 72 preg_match('#key =(.*)$#m', $zotero_config, $match); 73 $this->key = trim($match[1]); 75 preg_match('#cachePage =(.*)$#m', $zotero_config, $match); 76 $namespace = explode(':', trim($match[1])); 94 preg_match($regex, $rep, $match); 95 $id = $match[1]; 110 preg_match('#^[@].*\{(.*),$#m', $bib_item, $match); [all …]
|
/plugin/markdownextra/ |
H A D | syntax.php | 38 function handle($match, $state, $pos, Doku_Handler $handler) { argument 41 case DOKU_LEXER_UNMATCHED : return array($state, Markdown($match)); 51 list($state,$match) = $data; 55 $match = $this->_toc($renderer, $match); 56 $renderer->doc .= $match; 64 list($state,$match) = $data; 71 $this->_toc($renderer, $match); 72 $internallinks = $this->_internallinks($match); 129 if (preg_match('/h([1-7])/',$node->tagName,$match)) 132 $node->setAttribute('class', 'sectionedit'.$match[1]); [all …]
|
/plugin/quizlib/ |
H A D | syntax.php | 42 public function handle($match, $state, $pos, Doku_Handler $handler){ argument 46 $xml = simplexml_load_string(str_replace('>', '/>', $match)); 56 return array($state, $match); 71 list($state,$match) = $data; 74 if(!isset($match['id'])) return false; 75 $renderer->doc .= sprintf('<div id="%s">', $match['id']) . PHP_EOL; 79 $xml = @simplexml_load_string('<root>' . $match . '</root>'); 127 …if(!isset($match['id']) or !isset($match['rightanswers']) or !isset($match['submit'])) return fals… 128 … onclick="quizlibShowResults(\'%s\',%s);">%s</button>',$match['id'],$match['rightanswers'],$match[…
|
/plugin/sortablejs/ |
H A D | syntax.php | 45 function handle( $match, $state, $pos, Doku_Handler $handler ) { argument 49 $match = substr( $match, 9, -1 ); 50 $match = trim( $match ); 52 if ( strlen( $match ) > 0 ) { 53 $scl = $this->__validateOptions( $match ); 57 return array( $state, $match ); 65 list($state, $match) = $data; 69 $renderer->doc .= "<div class=\"sortable$match\">"; 72 $instructions = p_get_instructions( $match ); 91 $instructions = array_slice( p_get_instructions( $match ), 1, -1 );
|
/plugin/vcard/ |
H A D | syntax.php | 42 $match = substr($match, 8, -2); 45 list($match, $address) = explode('|', $match, 2); 52 list($match, $phones) = explode('#', $match, 2); 72 $match = substr($match,0,$email[0][1]); 78 $match = str_replace($m[0], '', $match); 83 $match = trim($match); 84 $pos = strrpos($match, ' '); 87 $last = substr($match, $pos + 1); 89 $first = $match; 348 $res[] = array('-', $match[0]); [all …]
|
/plugin/uncmap/ |
H A D | syntax.php | 101 function handle($match, $state, $pos, Doku_Handler $handler) { argument 104 $match = substr($match,2,-2); 107 $match = trim($match); 110 $letter = strtolower($match[0]); 115 $titlepos = strpos($match,'|'); 117 $title = substr($match,$titlepos+1); 118 $match = substr($match,0,$titlepos); 125 $match = substr($match, 1); 127 $match = str_replace('/','\\',$match); 130 if (substr($match,0,2) == ':\\') { [all …]
|
/plugin/openas/ |
H A D | syntax.php | 41 function handle($match, $state, $pos, Doku_Handler $handler) { argument 63 case DOKU_LEXER_UNMATCHED : return array($state, $match); 86 $match = $this->getLang('open_page'). '<br />' . 89 return array($state,$match); 94 list($state,$match) = $data; 102 $text = $renderer->_xmlEntities($match); 108 if(preg_match('/^TAreaOpen:(.*?)$/',$match,$matches)) { 111 else if($match == 'TAreaClose') { 117 $match = $matches[1]; 120 …$renderer->doc .= "<input type='text' size='$size' name= '$match' id ='$match' class='open_as_rep… [all …]
|
/plugin/findologicxmlexport/vendor/sebastian/diff/src/ |
H A D | Parser.php | 77 …+)(?:,\s*(?P<startrange>\d+))?\s+\+(?P<end>\d+)(?:,\s*(?P<endrange>\d+))?\s+@@/', $line, $match)) { 79 $match['start'], 80 isset($match['startrange']) ? \max(1, $match['startrange']) : 1, 81 $match['end'], 82 isset($match['endrange']) ? \max(1, $match['endrange']) : 1 91 if (\preg_match('/^(?P<type>[+ -])?(?P<line>.*)/', $line, $match)) { 94 if ($match['type'] === '+') { 96 } elseif ($match['type'] === '-') { 100 $diffLines[] = new Line($type, $match['line']);
|
/plugin/refnotes/syntax/ |
H A D | notes.php | 48 * Handle the match 50 public function handle($match, $state, $pos, Doku_Handler $handler) { argument 51 switch ($match[0]) { 53 return $this->handleBasic($match); 56 return $this->handleExtended($match); 109 preg_match('/~~REFNOTES(.*?)~~/', $syntax, $match); 111 return array('render', $this->parseAttributes($match[1])); 118 preg_match('/<refnotes(.*?)(?:\/>|>(.*?)<\/refnotes>)/s', $syntax, $match); 119 $attribute = $this->parseAttributes($match[1]); 122 if ($match[ [all...] |
/plugin/amazon/ |
H A D | syntax.php | 49 if(substr($match,2,8) == 'wishlist'){ 50 $match = substr($match,11,-2); 52 }elseif(substr($match,2,10) == 'amazonlist'){ 53 $match = substr($match,13,-2); 56 $match = substr($match,9,-2); 59 list($ctry,$asin) = explode(':',$match,2); 74 $params['imgw'] = $match[1]; 75 $params['imgh'] = $match[2]; 77 if(preg_match('/=(\d+)/',$more,$match)){ 78 $params['maxlen'] = $match[1]; [all …]
|