| /dokuwiki/_test/tests/test/ |
| H A D | edit_and_save.test.php | 41 $pattern = '/<form class="button btn_secedit".*>.*'; 42 $pattern .= '<input type="hidden" name="hid" value="'; 43 $pattern .= $idA[1]; 44 $pattern .= '" \/>.*<\/form>/'; 45 $result = preg_match($pattern, $content, $formA); 63 $pattern = '/<form id="dw__editform"[^>]*>.*'; 64 $pattern .= '<input type="hidden" name="hid" value="'; 65 $pattern .= $idA[1]; 66 $pattern .= '" \/>.*<\/form>/'; 67 $result = preg_match($pattern, $content, $editForm); [all …]
|
| /dokuwiki/inc/Parsing/ParserMode/ |
| 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');
|
| 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 | Entity.php | 10 protected $pattern = ''; variable in dokuwiki\\Parsing\\ParserMode\\Entity 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');
|
| H A D | Windowssharelink.php | 7 protected $pattern; variable in dokuwiki\\Parsing\\ParserMode\\Windowssharelink 12 $this->pattern = "\\\\\\\\\w+?(?:\\\\[\w\-$]+)+"; 19 $this->pattern,
|
| H A D | Filelink.php | 7 protected $pattern; variable in dokuwiki\\Parsing\\ParserMode\\Filelink 18 $this->pattern = '\b(?i)file(?-i)://[' . $any . ']+?[' . 26 $this->pattern,
|
| 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 | Externallink.php | 36 foreach ($this->patterns as $pattern) { 37 $this->Lexer->addSpecialPattern($pattern, $mode, 'externallink');
|
| /dokuwiki/inc/Parsing/Lexer/ |
| H A D | ParallelRegex.php | 43 * @param mixed $pattern Perl style regex. Must be UTF-8 51 public function addPattern($pattern, $label = true) argument 54 $this->patterns[$count] = $pattern; 157 $pattern = ""; 168 $pattern .= '\('; 173 else $pattern .= '\\'; 174 $pattern .= ')'; 178 $pattern .= '(?'; 182 $pattern .= $elt; 183 else $pattern .= str_replace('/', '\/', $elt); [all …]
|
| H A D | Lexer.php | 51 * @param string $pattern Perl style regex, but ( and ) 57 public function addPattern($pattern, $mode = "accept") argument 62 $this->regexes[$mode]->addPattern($pattern); 70 * @param string $pattern Perl style regex, but ( and ) lose the usual meaning. 74 public function addEntryPattern($pattern, $mode, $new_mode) argument 79 $this->regexes[$mode]->addPattern($pattern, $new_mode); 85 * @param string $pattern Perl style regex, but ( and ) lose the usual meaning. 88 public function addExitPattern($pattern, $mode) argument 93 $this->regexes[$mode]->addPattern($pattern, "__exit"); 102 * @param string $pattern Perl style regex, but ( and ) lose the usual meaning. [all …]
|
| /dokuwiki/vendor/php81_bc/strftime/src/ |
| H A D | php-8.1-strftime.php | 133 $pattern = '%'.$char; 134 if ($pattern == '%n') { 136 } elseif ($pattern == '%t') { 140 if (!isset($translation_table[$pattern])) { 141 … throw new InvalidArgumentException(sprintf('Format "%s" is unknown in time format', $pattern)); 144 $replace = $translation_table[$pattern]; 149 $result = $replace($timestamp, $pattern);
|
| H A D | IntlLocaleFormatter.php | 30 $pattern = ''; 57 $pattern = $this->formats[$format]; 73 …return (new IntlDateFormatter($this->locale, $date_type, $time_type, $tz, $calendar, $pattern))->f…
|
| /dokuwiki/lib/plugins/config/core/Setting/ |
| H A D | SettingPassword.php | 18 if ($this->pattern && !preg_match($this->pattern, $input)) {
|
| H A D | SettingDirchoice.php | 22 if ($this->pattern && !preg_match($this->pattern, $entry)) continue;
|
| H A D | SettingNumericopt.php | 11 protected $pattern = '/^(|[-]?\d+(?:[-+*]\d+)*)$/'; variable in dokuwiki\\plugin\\config\\core\\Setting\\SettingNumericopt
|
| H A D | SettingArray.php | 54 if ($this->pattern && !preg_match($this->pattern, $item)) {
|
| H A D | Setting.php | 25 protected $pattern = ''; variable in dokuwiki\\plugin\\config\\core\\Setting\\Setting 87 if ($this->pattern && !preg_match($this->pattern, $input)) {
|
| H A D | SettingNumeric.php | 13 protected $pattern = '/^[-+]? *\d+ *(?:[-+*] *\d+ *)*$/'; variable in dokuwiki\\plugin\\config\\core\\Setting\\SettingNumeric
|
| H A D | SettingMulticheckbox.php | 26 if ($this->pattern && !preg_match($this->pattern, $input)) {
|
| /dokuwiki/lib/plugins/authplain/ |
| H A D | auth.php | 21 protected $pattern = []; variable in auth_plugin_authplain 260 $pattern = '/^(' . implode('|', $deleted) . '):/'; 261 if (!io_deleteFromFile($config_cascade['plainauth.users']['default'], $pattern, true)) { 468 foreach ($this->pattern as $item => $pattern) { 470 if (!preg_match($pattern, $user)) return false; 472 if (!count(preg_grep($pattern, $info['grps']))) return false; 473 } elseif (!preg_match($pattern, $info[$item])) { 487 $this->pattern = []; 488 foreach ($filter as $item => $pattern) { 489 … $this->pattern[$item] = '/' . str_replace('/', '\/', $pattern) . '/i'; // allow regex characters
|
| /dokuwiki/lib/plugins/config/core/ |
| H A D | ConfigParser.php | 42 …$pattern = '/\$' . $this->varname . '\[[\'"]([^=]+)[\'"]\] ?= ?(.*?);(?=[^;]*(?:\$' . $this->varna… 44 preg_match_all($pattern, $contents, $matches, PREG_SET_ORDER);
|
| /dokuwiki/lib/plugins/authldap/ |
| H A D | auth.php | 27 protected $pattern; variable in auth_plugin_authldap 490 foreach ($this->pattern as $item => $pattern) { 492 if (!preg_match($pattern, $user)) return false; 494 if (!count(preg_grep($pattern, $info['grps']))) return false; 495 } elseif (!preg_match($pattern, $info[$item])) { 512 $this->pattern = []; 513 foreach ($filter as $item => $pattern) { 514 … $this->pattern[$item] = '/' . str_replace('/', '\/', $pattern) . '/i'; // allow regex characters
|
| /dokuwiki/lib/plugins/authad/ |
| H A D | auth.php | 70 protected $pattern = []; variable in auth_plugin_authad 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])) { 799 $this->pattern = []; 800 foreach ($filter as $item => $pattern) { 801 … $this->pattern[$item] = '/' . str_replace('/', '\/', $pattern) . '/i'; // allow regex characters
|
| /dokuwiki/inc/ |
| H A D | io.php | 367 $pattern = $regex ? $oldline : '/^' . preg_quote($oldline, '/') . '$/'; 377 $lines[$i] = preg_replace($pattern, $replace, $line, -1, $matched); 383 $lines = preg_grep($pattern, $lines, PREG_GREP_INVERT); 388 $lines = preg_replace($pattern, $replace, $lines); 760 * @param string $pattern PCRE pattern 767 function io_grep($file, $pattern, $max = 0, $backref = false) argument 780 if (preg_match($pattern, $line, $match)) {
|
| /dokuwiki/inc/Utf8/ |
| H A D | PhpString.php | 329 …$pattern = '/(^|([\x0c\x09\x0b\x0a\x0d\x20]+))([^\x0c\x09\x0b\x0a\x0d\x20]{1})[^\x0c\x09\x0b\x0a\x… 332 $pattern,
|