/dokuwiki/_test/tests/inc/parser/ |
H A D | lexer.test.php | 19 $regex = new ParallelRegex(false); 20 $this->assertFalse($regex->apply("Hello", $match)); 24 $regex = new ParallelRegex(false); 25 $regex->addPattern(".*"); 26 $this->assertTrue($regex->apply("", $match)); 30 $regex = new ParallelRegex(false); 31 $regex->addPattern(".*"); 32 $this->assertTrue($regex->apply("Hello", $match)); 36 $regex = new ParallelRegex(true); 37 $regex->addPattern("abc"); [all …]
|
/dokuwiki/inc/Parsing/Lexer/ |
H A D | ParallelRegex.php | 25 protected $regex; variable in dokuwiki\\Parsing\\Lexer\\ParallelRegex 56 $this->regex = null; 143 if ($this->regex == null) { 188 … $this->regex = "/" . implode("|", $this->patterns) . "/" . $this->getPerlMatchingFlags(); 190 return $this->regex;
|
/dokuwiki/lib/plugins/config/core/Setting/ |
H A D | SettingRegex.php | 23 $regex = $this->delimiter . $input . $this->delimiter . $this->pregflags; 25 @preg_match($regex, 'testdata');
|
/dokuwiki/inc/ |
H A D | io.php | 336 * @param bool $regex use regexp? 344 function io_replaceInFile($file, $oldline, $newline, $regex = false, $maxlines = 0) argument 367 $pattern = $regex ? $oldline : '/^' . preg_quote($oldline, '/') . '$/'; 368 $replace = $regex ? $newline : addcslashes($newline, '\$'); 412 * @param bool $regex use regexp? 417 function io_deleteFromFile($file, $badline, $regex = false) argument 419 return io_replaceInFile($file, $badline, '', $regex, 0);
|
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) {
|
H A D | media.php | 468 $regex = implode('|', $types); 471 if (!preg_match('/\.(' . $regex . ')$/i', $fn)) {
|
/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 | 720 regex support in PHP (Tim Starling) 723 - Changed comment regex in bash to prevent malformed XHTML (rv1971) 839 - Removed unnecessary regex style index from blitzbasic
|
/dokuwiki/lib/exe/ |
H A D | css.php | 474 $regex = '/^(' . implode('|', $basedir) . ')/'; 475 $this->relative_path = preg_replace($regex, '', dirname($this->filepath));
|
/dokuwiki/inc/Remote/ |
H A D | ApiCore.php | 327 $regex = []; 328 $data = ft_pageSearch($query, $regex); 335 $snippet = ft_snippet($id, $regex);
|
/dokuwiki/inc/Ui/ |
H A D | PageDiff.php | 548 $regex = <<< REGEX 556 return preg_replace('<' . $regex . '>xu', '\0<wbr>', $match[0]);
|
/dokuwiki/vendor/splitbrain/lesserphp/src/ |
H A D | Parser.php | 1340 protected function match($regex, &$out, $eatWhitespace = null) argument 1344 $r = '/' . $regex . ($eatWhitespace && !$this->writeComments ? '\s*' : '') . '/Ais'; 1374 protected function peek($regex, &$out = null, $from = null) argument 1377 $r = '/' . $regex . '/Ais';
|
/dokuwiki/_test/core/ |
H A D | phpQuery-onefile.php | 4692 foreach($regexes as $regex) 4693 while (preg_match($regex, $php, $matches)) { 4695 $regex, 4705 $regex = '@(^|>[^<]*)+?(<\?php(.*?)(\?>))@s'; 4708 $php = preg_replace($regex, '\\1<php><!-- \\3 --></php>', $php); 4743 foreach($regexes as $regex) 4744 while (preg_match($regex, $content)) 4746 $regex,
|
/dokuwiki/vendor/simplepie/simplepie/ |
H A D | CHANGELOG.md | 41 - Parse\Date: Clean up regex structure by @jtojnar in [#765](https://github.com/simplepie/simplepie… 217 * Switched from regex to xpath for microformats discovery. [#536](https://github.com/simplepie/simp…
|