/dokuwiki/data/pages/wiki/ |
H A D | syntax.txt | 268 The same can be done to produce any kind of HTML, it just needs to be added to the [[doku>entities|pattern file]]. 270 There are three exceptions which do not come from that pattern file: multiplication entity (640x480), 'single' and "double quotes". They can be turned off through a [[doku>config:typography|config option]].
|
/dokuwiki/inc/Parsing/Lexer/ |
H A D | Lexer.php | 47 * Adds a token search pattern for a particular parsing mode. 49 * The pattern does not change the current mode. 51 * @param string $pattern Perl style regex, but ( and ) 54 * pattern when dealing with 57 public function addPattern($pattern, $mode = "accept") 62 $this->regexes[$mode]->addPattern($pattern); 66 * Adds a pattern that will enter a new parsing mode. 70 * @param string $pattern Perl style regex, but ( and ) lose the usual meaning. 71 * @param string $mode Should only apply this pattern when dealing with this type of input. 74 public function addEntryPattern($pattern, 58 addPattern($pattern, $mode = 'accept') global() argument 75 addEntryPattern($pattern, $mode, $new_mode) global() argument 89 addExitPattern($pattern, $mode) global() argument 107 addSpecialPattern($pattern, $mode, $special) global() argument [all...] |
H A D | ParallelRegex.php | 41 * Adds a pattern with an optional label. 43 * @param mixed $pattern Perl style regex. Must be UTF-8 51 public function addPattern($pattern, $label = true) 54 $this->patterns[$count] = $pattern; 147 * decompose the input pattern into "(", "(?", ")", 157 $pattern = ""; 168 $pattern .= '\('; 173 else $pattern .= '\\'; 174 $pattern .= ')'; 178 $pattern 53 addPattern($pattern, $label = true) global() argument [all...] |
/dokuwiki/inc/Parsing/ParserMode/ |
H A D | Acronym.php | 9 protected $pattern = ''; variable in dokuwiki\\Parsing\\ParserMode\\Acronym 29 $this->pattern = '(?<=^|' . $bound . ')(?:' . implode('|', $acronyms) . ')(?=' . $bound . ')'; 37 if (strlen($this->pattern) > 0) { 38 $this->Lexer->addSpecialPattern($this->pattern, $mode, 'acronym');
|
H A D | Entity.php | 10 protected $pattern = ''; 25 if (!count($this->entities) || $this->pattern != '') return; 29 $this->pattern .= $sep . Lexer::escape($entity); 39 if (strlen($this->pattern) > 0) { 40 $this->Lexer->addSpecialPattern($this->pattern, $mode, 'entity'); 11 protected $pattern = ''; global() variable in dokuwiki\\Parsing\\ParserMode\\Entity
|
H A D | Externallink.php | 36 foreach ($this->patterns as $pattern) { 37 $this->Lexer->addSpecialPattern($pattern, $mode, 'externallink');
|
H A D | Filelink.php | 7 protected $pattern; 18 $this->pattern = '\b(?i)file(?-i)://[' . $any . ']+?[' . 26 $this->pattern, 8 protected $pattern; global() variable in dokuwiki\\Parsing\\ParserMode\\Filelink
|
H A D | Smiley.php | 10 protected $pattern = ''; variable in dokuwiki\\Parsing\\ParserMode\\Smiley 24 if (!count($this->smileys) || $this->pattern != '') return; 28 $this->pattern .= $sep . '(?<=\W|^)' . Lexer::escape($smiley) . '(?=\W|$)'; 38 if (strlen($this->pattern) > 0) { 39 $this->Lexer->addSpecialPattern($this->pattern, $mode, 'smiley');
|
H A D | Windowssharelink.php | 7 protected $pattern; 12 $this->pattern = "\\\\\\\\\w+?(?:\\\\[\w\-$]+)+"; 19 $this->pattern, 8 protected $pattern; global() variable in dokuwiki\\Parsing\\ParserMode\\Windowssharelink
|
H A D | Wordblock.php | 13 protected $pattern = ''; variable in dokuwiki\\Parsing\\ParserMode\\Wordblock 28 if (count($this->badwords) == 0 || $this->pattern != '') { 34 $this->pattern .= $sep . '(?<=\b)(?i)' . Lexer::escape($badword) . '(?-i)(?=\b)'; 42 if (strlen($this->pattern) > 0) { 43 $this->Lexer->addSpecialPattern($this->pattern, $mode, 'wordblock');
|
/dokuwiki/inc/Utf8/ |
H A D | PhpString.php | 118 // normalise -ve offsets (we could use a tail anchored pattern, but they are horribly slow!) 125 // establish a pattern for offset, a non-captured group equal in length to offset 133 $offset_pattern = '^'; // offset == 0; just anchor the pattern 136 // establish a pattern for length 329 $pattern = '/(^|([\x0c\x09\x0b\x0a\x0d\x20]+))([^\x0c\x09\x0b\x0a\x0d\x20]{1})[^\x0c\x09\x0b\x0a\x0d\x20]*/u'; 332 $pattern,
|
/dokuwiki/inc/ |
H A D | io.php | 366 $pattern = $regex ? $oldline : '/^' . preg_quote($oldline, '/') . '$/'; 375 // $matched will be set to 0|1 depending on whether pattern is matched and line replaced 376 $lines[$i] = preg_replace($pattern, $replace, $line, -1, $matched); 382 $lines = preg_grep($pattern, $lines, PREG_GREP_INVERT); 387 $lines = preg_replace($pattern, $replace, $lines); 759 * @param string $pattern PCRE pattern 766 function io_grep($file, $pattern, $max = 0, $backref = false) 779 if (preg_match($pattern, $line, $match)) { 712 io_grep($file, $pattern, $max = 0, $backref = false) global() argument
|
H A D | media.php | 1429 $pattern = '/' . $quoted . '/i'; 1434 ['showmsg' => false, 'pattern' => $pattern], 2229 $pattern = mediaFN($baseid) . '.*.*.vtt'; 2230 $list = glob($pattern);
|
/dokuwiki/lib/plugins/authad/ |
H A D | auth.php | 70 protected $pattern = []; 395 * @param array $filter $filter array of field/pattern pairs, empty array for no filter 510 * @param array $filter array of field/pattern pairs, null for no filter 778 foreach ($this->pattern as $item => $pattern) { 780 if (!preg_match($pattern, $user)) return false; 782 if (!count(preg_grep($pattern, $info['grps']))) return false; 783 } elseif (!preg_match($pattern, $info[$item])) { 791 * Create a pattern for $this->_filter() 799 $this->pattern 67 protected $pattern = array(); global() variable in auth_plugin_authad [all...] |
/dokuwiki/lib/plugins/authldap/ |
H A D | auth.php | 26 /* @var array $pattern User filter pattern */ 27 protected $pattern; 400 * @param array $filter array of field/pattern pairs, null for no filter 486 foreach ($this->pattern as $item => $pattern) { 488 if (!preg_match($pattern, $user)) return false; 490 if (!count(preg_grep($pattern, $info['grps']))) return false; 491 } elseif (!preg_match($pattern, $info[$item])) { 499 * Set the filter pattern 24 protected $pattern = null; global() variable in auth_plugin_authldap [all...] |
/dokuwiki/lib/plugins/authplain/ |
H A D | auth.php | 20 /** @var array filter pattern */ variable in auth_plugin_authplain 21 protected $pattern = []; 257 $pattern = '/^(' . implode('|', $deleted) . '):/'; 258 if (!io_deleteFromFile($config_cascade['plainauth.users']['default'], $pattern, true)) { 302 * @param array $filter array of field/pattern pairs 465 foreach ($this->pattern as $item => $pattern) { 467 if (!preg_match($pattern, $user)) return false; 469 if (!count(preg_grep($pattern, $info['grps']))) return false; 470 } elseif (!preg_match($pattern, [all...] |
/dokuwiki/lib/plugins/config/core/ |
H A D | ConfigParser.php | 42 $pattern = '/\$' . $this->varname . '\[[\'"]([^=]+)[\'"]\] ?= ?(.*?);(?=[^;]*(?:\$' . $this->varname . '|$))/s'; 44 preg_match_all($pattern, $contents, $matches, PREG_SET_ORDER);
|
/dokuwiki/lib/plugins/config/core/Setting/ |
H A D | Setting.php | 25 protected $pattern = ''; 87 if ($this->pattern && !preg_match($this->pattern, $input)) { 24 protected $pattern = ''; global() variable in dokuwiki\\plugin\\config\\core\\Setting\\Setting
|
H A D | SettingArray.php | 54 if ($this->pattern && !preg_match($this->pattern, $item)) {
|
H A D | SettingDirchoice.php | 22 if ($this->pattern && !preg_match($this->pattern, $entry)) continue;
|
H A D | SettingMulticheckbox.php | 26 if ($this->pattern && !preg_match($this->pattern, $input)) {
|
H A D | SettingNumeric.php | 13 protected $pattern = '/^[-+]? *\d+ *(?:[-+*] *\d+ *)*$/'; 12 protected $pattern = '/^[-+]? *[0-9]+ *(?:[-+*] *[0-9]+ *)*$/'; global() variable in dokuwiki\\plugin\\config\\core\\Setting\\SettingNumeric
|
H A D | SettingNumericopt.php | 11 protected $pattern = '/^(|[-]?\d+(?:[-+*]\d+)*)$/'; 10 protected $pattern = '/^(|[-]?[0-9]+(?:[-+*][0-9]+)*)$/'; global() variable in dokuwiki\\plugin\\config\\core\\Setting\\SettingNumericopt
|
H A D | SettingPassword.php | 18 if ($this->pattern && !preg_match($this->pattern, $input)) {
|
/dokuwiki/vendor/marcusschwarz/lesserphp/ |
H A D | LICENSE |
|