Home
last modified time | relevance | path

Searched refs:regex (Results 1 – 12 of 12) sorted by relevance

/dokuwiki/inc/Parsing/Lexer/
H A DParallelRegex.php24 protected $regex; variable in dokuwiki\\Parsing\\Lexer\\ParallelRegex
39 $this->regex = null;
58 $this->regex = null;
145 if ($this->regex == null) {
190 … $this->regex = "/" . implode("|", $this->patterns) . "/" . $this->getPerlMatchingFlags();
192 return $this->regex;
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingRegex.php22 $regex = $this->delimiter . $input . $this->delimiter . $this->pregflags;
24 @preg_match($regex, 'testdata');
/dokuwiki/inc/
H A Dio.php309 * @param bool $regex use regexp?
313 function io_replaceInFile($file, $oldline, $newline, $regex=false, $maxlines=0) { argument
335 $pattern = $regex ? $oldline : '/^'.preg_quote($oldline,'/').'$/';
336 $replace = $regex ? $newline : addcslashes($newline, '\$');
381 * @param bool $regex use regexp?
384 function io_deleteFromFile($file,$badline,$regex=false){ argument
385 return io_replaceInFile($file,$badline,null,$regex,0);
H A Dhtml.php266 $regex = join('|',$phrases);
268 if ($regex === '') return $html;
269 if (!\dokuwiki\Utf8\Clean::isUtf8($regex)) return $html;
271 $html = @preg_replace_callback("/((<[^>]*)|$regex)/ui", function ($match) {
H A Dmedia.php444 $regex = join('|',$types);
447 if(!preg_match('/\.('.$regex.')$/i',$fn)) {
/dokuwiki/inc/Remote/
H A DApiCore.php363 $regex = array();
364 $data = ft_pageSearch($query, $regex);
373 $snippet = ft_snippet($id, $regex);
/dokuwiki/vendor/geshi/geshi/
H A DBUGS24 - Perl/Javascript /.../ regex syntax is only supported basically and there's no
H A DCHANGELOG718 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/lib/exe/
H A Dcss.php452 $regex = '/^('.join('|',$basedir).')/';
453 $this->relative_path = preg_replace($regex, '', dirname($this->filepath));
/dokuwiki/inc/Ui/
H A DDiff.php491 $regex = <<< REGEX
499 return preg_replace('<'.$regex.'>xu', '\0<wbr>', $match[0]);
/dokuwiki/vendor/marcusschwarz/lesserphp/
H A Dlessc.inc.php3733 protected function match($regex, &$out, $eatWhitespace = null) { argument
3736 $r = '/'.$regex.($eatWhitespace && !$this->writeComments ? '\s*' : '').'/Ais';
3765 protected function peek($regex, &$out = null, $from=null) { argument
3767 $r = '/'.$regex.'/Ais';
/dokuwiki/vendor/simplepie/simplepie/
H A DCHANGELOG.md47 * Switched from regex to xpath for microformats discovery. [#536](https://github.com/simplepie/simp…