Searched refs:regex (Results 1 – 12 of 12) sorted by last modified time
/dokuwiki/inc/ |
H A D | io.php | 321 * A regex that matches any part of the line will remove the entire line in this mode. 325 * or all lines if $maxlines is -1. If $regex is true then captures can be used in $newline. 335 * @param bool $regex use regexp? 343 function io_replaceInFile($file, $oldline, $newline, $regex = false, $maxlines = 0) 366 $pattern = $regex ? $oldline : '/^' . preg_quote($oldline, '/') . '$/'; 367 $replace = $regex ? $newline : addcslashes($newline, '\$'); 411 * @param bool $regex use regexp? 416 function io_deleteFromFile($file, $badline, $regex = false) 418 return io_replaceInFile($file, $badline, '', $regex, 0); 313 io_replaceInFile($file, $oldline, $newline, $regex = false, $maxlines = 0) global() argument 384 io_deleteFromFile($file, $badline, $regex = false) global() argument
|
H A D | media.php | 468 $regex = implode('|', $types); 471 if (!preg_match('/\.(' . $regex . ')$/i', $fn)) {
|
H A D | html.php | 303 $regex = implode('|', $phrases); 305 if ($regex === '') return $html; 306 if (!Clean::isUtf8($regex)) return $html; 308 return @preg_replace_callback("/((<[^>]*)|$regex)/ui", function ($match) {
|
/dokuwiki/inc/Parsing/Lexer/ |
H A D | ParallelRegex.php | 24 /** @var string the compound regex matching all patterns */ variable in dokuwiki\\Parsing\\Lexer\\ParallelRegex 25 protected $regex; 43 * @param mixed $pattern Perl style regex. Must be UTF-8 48 * @param bool|string $label Label of regex to be returned 56 $this->regex = null; 136 * "or" operator. Caches the regex. 143 if ($this->regex == null) { 188 $this->regex = "/" . implode("|", $this->patterns) . "/" . $this->getPerlMatchingFlags(); 190 return $this->regex; 194 * Accessor for perl regex mod [all...] |
/dokuwiki/vendor/geshi/geshi/ |
H A D | BUGS | 24 - Perl/Javascript /.../ regex syntax is only supported basically and there's no
|
H A D | CHANGELOG | 718 regex support in PHP (Tim Starling) 721 - Changed comment regex in bash to prevent malformed XHTML (rv1971) 837 - Removed unnecessary regex style index from blitzbasic
|
/dokuwiki/inc/Remote/ |
H A D | ApiCore.php | 326 $regex = []; 327 $data = ft_pageSearch($query, $regex); 334 $snippet = ft_snippet($id, $regex);
|
/dokuwiki/vendor/marcusschwarz/lesserphp/ |
H A D | lessc.inc.php |
|
/dokuwiki/inc/Ui/ |
H A D | PageDiff.php | 548 $regex = <<< REGEX 556 return preg_replace('<' . $regex . '>xu', '\0<wbr>', $match[0]);
|
/dokuwiki/vendor/simplepie/simplepie/ |
H A D | CHANGELOG.md | 26 - Parse\Date: Clean up regex structure by @jtojnar in [#765](https://github.com/simplepie/simplepie/pull/765) 202 * Switched from regex to xpath for microformats discovery. [#536](https://github.com/simplepie/simplepie/pull/536)
|
/dokuwiki/lib/plugins/config/core/Setting/ |
H A D | SettingRegex.php | 10 protected $delimiter = '/'; // regex delimiter to be used in testing input 11 protected $pregflags = 'ui'; // regex pattern modifiers to be used in testing input 22 // see if the regex compiles and runs (we don't check for effectiveness) 23 $regex = $this->delimiter . $input . $this->delimiter . $this->pregflags; 25 @preg_match($regex, 'testdata');
|
/dokuwiki/lib/exe/ |
H A D | css.php | 474 $regex = '/^(' . implode('|', $basedir) . ')/'; 475 $this->relative_path = preg_replace($regex, '', dirname($this->filepath));
|