/plugin/data-au/syntax/ |
H A D | table.php | 96 $line = preg_replace('/(?<![&\\\\])#.*$/', '', $line); 97 $line = str_replace('\\#', '#', $line); 98 $line = trim($line); 100 $line = preg_split('/\s*:\s*/', $line, 2); 101 $line[0] = strtolower($line[0]); 397 $text .= '<tr>'; 427 $text .= '</tr>'; 462 return $text; 491 $text = ''; 553 return $text; [all …]
|
/plugin/data/syntax/ |
H A D | table.php | 74 * @param string $match The text matched by the patterns 76 * @param int $pos The character position of the matched text 104 foreach ($lines as $line) { 106 $line = preg_replace('/(?<![&\\\\])#.*$/', '', $line); 107 $line = str_replace('\\#', '#', $line); 108 $line = trim($line); 109 if (empty($line)) continu 742 parseValues($line) global() argument [all...] |
/plugin/combo/vendor/symfony/polyfill-php80/ |
H A D | PhpToken.php | 29 public $text; variable in Symfony\\Polyfill\\Php80\\PhpToken 34 public $line; variable in Symfony\\Polyfill\\Php80\\PhpToken 41 public function __construct(int $id, string $text, int $line = -1, int $position = -1) argument 44 $this->text = $text; 45 $this->line = $line; 52 $name = \strlen($this->text) > 1 || \ord($this->text) < 3 [all...] |
/plugin/textile2/ |
H A D | classTextile.php | 470 foreach($text as $line) { 495 $out[] = $line; 530 foreach($text as $line) { 553 $line = $content; 560 $line = $this->graf($line); 564 $line = $this->doPBr($line); 565 $line = preg_replace('/<br>/', '<br />', $line); 570 $out[] = $line; 1012 foreach($text as $line) { 1014 $line = preg_replace($glyph_search, $glyph_replace, $line); [all …]
|
/plugin/mdpage/vendor/cebe/markdown/block/ |
H A D | HtmlTrait.php | 52 if ($line[0] !== '<' || isset($line[1]) && $line[1] == ' ') { 84 $line = $lines[$i]; 85 $content[] = $line; 99 …$level += substr_count($line, "<$tag") - substr_count($line, "</$tag>") - substr_count($line, "/>"… 124 protected function parseEntity($text) argument 127 if (preg_match('/^&#?[\w\d]+;/', $text, $matches)) { 146 protected function parseInlineHtml($text) argument 148 if (strpos($text, '>') !== false) { 149 if (preg_match('~^</?(\w+\d?)( .*?)?>~s', $text, $matches)) { 152 } elseif (preg_match('~^<!--.*?-->~s', $text, $matches)) { [all …]
|
/plugin/switchpanel/ |
H A D | README.md | 13 ==text 38 ==text 57 ==text 97 ==text 118 ==text 135 ==text 157 ==text 181 ==text 198 ==text 215 ==text [all …]
|
/plugin/spellcheck/ |
H A D | spellcheck.php | 149 $line = trim($lines[$i]); 150 if($line[0] == '@') continue; // comment 153 if($line[0] == '?') continue; // word was guessed 154 if(empty($line)){ 174 print "Line $i:".$line; 250 $text = strip_tags($text); 253 $text = preg_replace('/ /',' ',$text); 254 $text = preg_replace('/\xC2\xA0/',' ',$text); 257 $text = unhtmlspecialchars($text); 262 $text = str_replace('&','&',$text); [all …]
|
/plugin/semanticdata/syntax/ |
H A D | table.php | 75 $line = str_replace('\\#','#',$line); 76 $line = trim($line); 78 $line = preg_split('/\s*:\s*/',$line,2); 79 $line[0] = strtolower($line[0]); 233 $text .= '<tr>'; 237 $text .= '<th>'; 258 $text .= '</th>'; 260 $text .= '</tr>'; 261 return $text; 276 $text = ''; [all …]
|
/plugin/sequencediagram/bower_components/js-sequence-diagrams/src/ |
H A D | theme-raphael.js | 25 Raphael.fn.line = function(x1, y1, x2, y2) { function 85 text = _.invoke(text.split('\n'), 'trim'); 93 text = this.cleanText(text); 99 p = this.paper_.text(0, 0, text); 110 var line = this.paper_.line(x1, y1, x2, y2).attr(LINE); 115 line.attr('stroke-dasharray', this.lineTypes_[linetype]); 117 return line; 132 text = this.cleanText(text); 149 t = paper.text(x - bb.x - bb.width / 2, y - bb.y, text); 182 line.attr('stroke-dasharray', this.lineTypes_[linetype]); [all …]
|
H A D | theme-snap.js | 138 textBBox: function(text, font) { argument 140 var t = this.createText(text, font); 164 createText: function(text, font) { argument 165 text = _.invoke(text.split('\n'), 'trim'); 166 var t = this.paper_.text(0, 0, text); 168 if (text.length > 1) { 180 var line = this.paper_.line(x1, y1, x2, y2).attr(LINE); 187 return this.pushToStack(line); 202 drawText: function(x, y, text, font, align) { argument 203 var t = this.createText(text, font); [all …]
|
/plugin/zotero/ |
H A D | TextZoteroRepository.php | 29 $e = $this->parseLine($line); 42 $line = trim($line); 44 if ($line == "" || $line == self::HEADER) 49 $line = $this->extractZoteroKey($line); 50 $columns = explode("|", $line); 65 private function extractZoteroKey($text) argument 70 $text = str_replace($matches[0], $matches[1], $text); 72 return $text; 93 $text = self::HEADER . "\n"; 96 $text .= $this->serializeEntry($e); [all …]
|
/plugin/dokutexit/ |
H A D | texitrender.php | 144 function p_get_instructions(&$text){ argument 188 unset($text); 204 $text = rawWiki($id); 245 $text .= "<file>\n"; 247 $text .= "</file>\n"; 302 foreach ( $lines as $line ) { 303 $line = trim($line); 304 if(empty($line)) continue; 305 $line = preg_split('/\s+/',$line,2); 308 $conf[strtolower($line[0])] = $line[1]; [all …]
|
/plugin/aichat/vendor/vanderlee/php-sentence/src/ |
H A D | Sentence.php | 40 * List of replacements in the text. 47 * Generate an in-text replacement code for the specified index 59 * Clean floating point numbers by replace them with an in-text index 61 * @param string $text 65 private function replaceFloatNumbers(string $text) argument 67 preg_match_all('!\d+(?:\.\d+)?!', $text, $matches, PREG_OFFSET_CAPTURE); 78 $text = (string)substr_replace($text, $code, $offset, mb_strlen($number)); 83 return $text; 89 * @param string[] $text 93 restoreReplacements($text) global() argument 115 linebreakSplit($text) global() argument 147 punctuationSplit($line) global() argument 407 split($text, $flags = 0) global() argument 463 count($text) global() argument [all...] |
/plugin/prettytables/ |
H A D | script.js | 18 function prettytables_repeat(text,num) { argument 20 buf += text; 53 return text; 71 this.parse = function(text){ argument 76 var lines = text.split(/\n/); 129 this.encode = function(line){ argument 130 line = line.replace(/[%]{2}[|][%]{2}/g, "%%!@#1#@!%%"); 131 line = line.replace(/[%]{2}[^][%]{2}/g, "%%!@#2#@!%%"); 132 line = line.replace(/([\[]{2}[^\]]*)[|]([^\]]*[\]]{2})/g, "$1!@#1#@!$2"); 133 line = line.replace(/([\{]{2}[^\}]*)[|]([^\}]*[\}]{2})/g, "$1!@#1#@!$2"); [all …]
|
/plugin/socialshareprivacy2/SSP/stylesheets/ |
H A D | jquery.socialshareprivacy.delicious.css | 34 text-decoration:none!important; 49 text-align:center; 51 line-height:18px; 55 text-shadow:#2A5580 1px 1px 0; 64 text-shadow:#222 1px 1px 0; 76 line-height:18px; 83 text-decoration:none!important; 104 text-align:center; 105 text-shadow:#2A5580 1px 1px 0; 110 text-shadow:#369 1px 1px 0; [all …]
|
/plugin/datatemplate/syntax/ |
H A D | list.php | 51 foreach ($lines as $num => $line) { 53 $line = preg_replace('/(?<![&\\\\])#.*$/', '', $line); 54 $line = str_replace('\\#','#',$line); 55 $line = trim($line); 56 if(empty($line)) continue; 57 $line = preg_split('/\s*:\s*/', $line, 2); 59 $template = $line[1]; 245 $text = preg_replace($patterns,$replace,$text); 257 $text = preg_replace('/@@.*?@@/', '', $text); 276 $text = ''; [all …]
|
/plugin/mdpage/vendor/cebe/markdown/ |
H A D | GithubMarkdown.php | 66 $line = $lines[$i]; 67 if ($line === '' 68 || ltrim($line) === '' 69 || !ctype_alpha($line[0]) && ( 72 $this->identifyUl($line, $lines, $i) || 74 $this->identifyHr($line, $lines, $i) 85 $content[] = $line; 90 $content[] = $line; 105 protected function renderText($text) argument 109 return strtr($text[1], [" \n" => $br, "\n" => $br]); [all …]
|
H A D | Parser.php | 56 $text = str_replace(["\r\n", "\n\r", "\r"], "\n", $text); 81 $text = str_replace(["\r\n", "\n\r", "\r"], "\n", $text); 140 $line = $lines[$current]; 143 if ($this->{'identify' . $blockType}($line, $lines, $current)) { 167 $line = $lines[$i]; 168 if ($line !== '' && rtrim($line) !== '') { // skip empty lines 292 * @param string $text 339 $text = $found; 350 $text = substr($text, $offset); 357 $text = substr($text, 1); [all …]
|
/plugin/mediasyntax/test/ |
H A D | mediasyntax-test.txt | 6 preformatted text 7 preformatted text starting one line later 10 a codeblock, as opposed to a preblock, can contain <font color=red>red</font> text 12 preformatted text in a "pre" tag, line 1 13 line 2 16 <pre>Preformatted text inside a "pre"-tag, all in one line</pre> 32 normal text wit [all...] |
/plugin/xfortune/ |
H A D | helper.php | 104 $text = ''; 108 $line = fgets($fd, 1024); 113 if($line == "%\n") { 118 $text .= $line; 134 if($line == "%\n") { 151 $text .= $line; 156 $text = trim($text); 159 if(!utf8_check($text)) return utf8_encode($text); 161 return $text;
|
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/ |
H A D | CommonToken.php | 26 protected $line = 0; variable in Antlr\\Antlr4\\Runtime\\CommonToken 60 * text is explicitly set in the constructor or via {@see CommonToken::setText()}. 66 protected $text; variable in Antlr\\Antlr4\\Runtime\\CommonToken 116 $this->line = $tokenSource->getLine(); 136 * token will share a reference to the {@see CommonToken::text()} field and 138 * {@see CommonToken::text()} will be assigned the result of calling 148 $token->line = $this->line; 151 $token->setText($this->text); 168 return $this->line; 171 setLine(int $line) global() argument 206 setText(string $text) global() argument [all...] |
/plugin/loglog/helper/ |
H A D | report.php | 50 $text = file_get_contents($template); 63 $text = str_replace( 66 $text 73 $text 96 foreach ($lines as $line) { 99 $line['msg'], 104 if ($line['user']) $users[] = $line['user']; 107 $line['msg'], 112 } elseif (strpos($line['msg'], 'admin') !== false) { 113 list($action, $page) = explode(' - ', $line['msg']);
|
/plugin/aichat/vendor/erusev/parsedown/ |
H A D | Parsedown.php | 24 function text($text) argument 29 # standardize line breaks 30 $text = str_replace(array("\r\n", "\r"), "\n", $text); 32 # remove surrounding line breaks 33 $text = trim($text, "\n"); 35 # split text into lines 36 $lines = explode("\n", $text); 1054 line($text, $nonNestables = array()) global() argument 1451 unmarkedText($text) global() argument 1578 parse($text) global() argument 1637 escape($text, $allowQuotes = false) global() argument [all...] |
/plugin/mdpage/vendor/cebe/markdown/inline/ |
H A D | LinkTrait.php | 50 protected function replaceEscape($text) argument 56 return strtr($text, $strtr); 102 'text' => $text, 125 $text = $textMatches[1]; 139 $text, 148 $key = strtolower($text); 153 $text, 168 protected function parseLt($text) argument 170 if (strpos($text, '>') !== false) { 255 protected function identifyReference($line) argument [all …]
|
/plugin/sketchcanvas/ |
H A D | README.md | 16 * Has a text format that is easily examined and edited by human.
17 * Can also be saved as a separate text file.
18 * Can be easily compared with text-wise diff.
25 However, this project also implements a DokuWiki plugin that you can embed this document into a wiki text, and it is the most common way to use it.
48 - type: line
50 - type: line
52 - type: line
55 - type: line
58 - type: line
62 - type: line
[all...] |