Home
last modified time | relevance | path

Searched refs:pattern (Results 76 – 100 of 693) sorted by relevance

12345678910>>...28

/plugin/publistf/bib2tpl/
H A Dbibtex_converter.php367 $pattern = '/@\{group@(.*?)@\}group@/s';
371 preg_match($pattern, $result, $group_tpl);
382 $result = preg_replace($pattern, $groups, $result, 1);
383 preg_match($pattern, $result, $group_tpl);
418 $pattern = '/@\{entry@(.*?)@\}entry@/s';
422 preg_match($pattern, $result, $entry_tpl);
432 $result = preg_replace($pattern, $entries, $result, 1);
433 preg_match($pattern, $result, $entry_tpl);
486 $pattern = '/@\?(\w+)(?:(<=|>=|==|!=|~)(.*?))?@(.*?)(?:@:\1@(.*?))?@;\1@/s';
504 while ( preg_match($pattern, $string, $match) )
H A Dhelper.inc.php74 foreach ( $this->options['lang']['months'] as $number => $pattern )
76 $pattern = '/'.$pattern.'/';
77 if ( preg_match($pattern , $month) )
/plugin/publistx/bib2tpl/
H A Dbibtex_converter.php363 $pattern = '/@\{group@(.*?)@\}group@/s';
367 preg_match($pattern, $result, $group_tpl);
378 $result = preg_replace($pattern, $groups, $result, 1);
379 preg_match($pattern, $result, $group_tpl);
414 $pattern = '/@\{entry@(.*?)@\}entry@/s';
418 preg_match($pattern, $result, $entry_tpl);
428 $result = preg_replace($pattern, $entries, $result, 1);
429 preg_match($pattern, $result, $entry_tpl);
481 $pattern = '/@\?(\w+)(?:(<=|>=|==|!=|~)(.*?))?@(.*?)(?:@:\1@(.*?))?@;\1@/s';
499 while ( preg_match($pattern, $string, $match) )
H A Dhelper.inc.php74 foreach ( $this->options['lang']['months'] as $number => $pattern )
76 $pattern = '/'.$pattern.'/';
77 if ( preg_match($pattern , $month) )
/plugin/filelist/
H A Dsyntax.php9 * Filelist Plugin: Lists files matching a given glob pattern.
75 // separate path and pattern
78 $pattern = array_pop($parts);
81 return [$base, $pattern, $params];
89 [$base, $pattern, $params] = $data;
116 $pattern,
591 _create_filelist($pattern, $params) global() argument
775 _crawl_files($pattern, $params) global() argument
943 _fnmatch($pattern, $string) global() argument
/plugin/jquery-syntax/jquery-syntax/
H A Djquery.syntax.brush.yaml.js5pattern:/^\s*#.*$/gm,klass:'comment',allow:['href']});brush.push(Syntax.lib.singleQuotedString);br…
H A Djquery.syntax.brush.lisp.js5pattern:/(;+) .*$/gm,klass:'comment',allow:['href']};Syntax.register('lisp',function(brush){brush.… property in Syntax.lib.lispStyleComment
H A Djquery.syntax.brush.apache.js5pattern:/(<(\w+).*?>)/gi,matches:Syntax.extractMatches({klass:'tag',allow:['attribute','tag-name',…
/plugin/redirect2/
H A Daction.php177 if (isset($map->pattern[$checkID])) {
178 $dest = $map->pattern[$checkID]['destination'];
183 $status = $map->pattern[$checkID]['status'];
238 if (isset($map->pattern[$checkID])) {
239 $dest = $map->pattern[$checkID]['destination'];
244 $status = $map->pattern[$checkID]['status'];
292 foreach ($map->pattern as $pattern => $data) {
293 if (preg_match('/^%.*%$/', $pattern) !== 1) continue;
294 $destID = preg_replace( $pattern, $data['destination'], $checkID, -1, $count);
/plugin/findologicxmlexport/vendor/hoa/ustring/Test/Unit/
H A DUstring.php219 ->given($pattern = '/foo/i')
220 ->when($result = LUT::safePattern($pattern))
229 ->given($pattern = '/foo/ui')
230 ->when($result = LUT::safePattern($pattern))
240 $pattern = '/��/u',
257 $pattern = '/��/u',
286 $pattern = '/��/u',
306 $pattern = '/��/u',
326 $pattern = '/��/u',
352 $pattern = '/(��)/u',
[all …]
/plugin/pot/source/
H A Dcalculate.php14 $pattern = '/\s*\{{1}\s*([\?@!#&)]?)\s*(.*?)\s*\}{1}\s*/'; variable
15 $complete = preg_replace_callback($pattern, function ($stew) {
33 $pattern = "/.*($searchpotid).*/x"; variable
37 preg_match($pattern, $key, $match); //.*(gut).*
/plugin/caption/syntax/
H A Dcaption.php115 $pattern = '##REF:'.$this->_figlabels[$this->_fignum].'##';
116 if (strpos($renderer->doc, $pattern) !== FALSE) {
117 $renderer->doc = str_replace($pattern, $this->_fignum, $renderer->doc);
132 $pattern = '##REF:'.$this->_tablabels[$this->_tabnum].'##';
133 if (strpos($renderer->doc, $pattern) !== FALSE) {
134 $renderer->doc = str_replace($pattern, $this->_tabnum, $renderer->doc);
150 $pattern = '##REF:'.$this->_codelabels[$this->_codenum].'##';
151 if (strpos($renderer->doc, $pattern) !== FALSE) {
152 $renderer->doc = str_replace($pattern, $this->_codenum, $renderer->doc);
168 $pattern
[all...]
/plugin/toctweak/syntax/
H A Dclosetoc.php15 protected $pattern = array(); variable in syntax_plugin_toctweak_closetoc
21 $this->pattern[5] = '~~CLOSETOC~~'; // DOKU_LEXER_SPECIAL
33 $this->Lexer->addSpecialPattern($this->pattern[5], $mode, $this->mode);
/plugin/publist/bib2tpl/
H A Dhelper.inc.php74 foreach ( $this->options['lang']['months'] as $number => $pattern )
76 $pattern = '/'.$pattern.'/';
77 if ( preg_match($pattern , $month) )
/plugin/struct/helper/
H A Dimexport.php46 foreach ($patterns as $pattern) {
47 $pattern = $this->sqlite->escape_string($pattern);
48 $sql[] = "INSERT INTO schema_assignments_patterns (pattern, tbl) VALUES ('$pattern','$schemaName')";
69 $sql = 'SELECT pattern FROM schema_assignments_patterns WHERE tbl = ?';
71 return array_map(static fn($elem) => $elem['pattern'], $patterns);
/plugin/commentsyntax/syntax/
H A Dhtmlcomment.php32 protected $mode, $pattern; variable in syntax_plugin_commentsyntax_htmlcomment
39 $this->pattern = [
46 $this->Lexer->addSpecialPattern($this->pattern[5], $mode, $this->mode);
H A Dpreventive.php30 protected $mode, $pattern; variable in syntax_plugin_commentsyntax_preventive
37 $this->pattern = [
44 $this->Lexer->addSpecialPattern($this->pattern[5], $mode, $this->mode);
/plugin/canvas/
H A Dcanvas.php201 $pattern = "/(\w+)\s*=\s*($val)/";
202 preg_match_all($pattern, $args, $matches, PREG_SET_ORDER);
211 $pattern = "/(\w+)\s*=\s*($val)/";
212 preg_match_all($pattern, $args, $matches, PREG_SET_ORDER);
220 $pattern = '/(?:^| )(\d+(%|em|pt|px)?)\s*([,xX]?(\d+(%|em|pt|px)?))?(?: |$)/';
221 if (preg_match($pattern, $args, $matches)) {
/plugin/numberedheadings/
H A Dsyntax.php39 * Connect pattern to lexer
41 protected $mode, $pattern;
48 // syntax pattern
49 $this->pattern[0] = '~~HEADLINE NUMBERING FIRST LEVEL = \d~~';
50 $this->pattern[5] = '^[ \t]*={2,} ?-+(?:[#"][^\n]*)? [^\n]*={2,}[ \t]*(?=\n)';
55 $this->Lexer->addSpecialPattern($this->pattern[0], $mode, $this->mode);
56 $this->Lexer->addSpecialPattern($this->pattern[5], $mode, $this->mode);
34 protected $mode, $pattern; global() variable in syntax_plugin_numberedheadings
/plugin/siteexport/inc/
H A Dsettings.php8 public $pattern = null; variable in settings_plugin_siteexport_settings
62 $this->pattern = $INPUT->str('pattern');
63 if ( empty( $this->pattern ) )
66 $this->pattern = $functions->requestParametersToCacheHash($params);
82 … $this->downloadZipFile = $functions->getSpecialExportFileName($this->origZipFile, $this->pattern);
/plugin/googlemaps3/
H A Dsyntax.php189 * @param string $pattern string of map options
192 private function getMapOptions($pattern) { argument
195 preg_match_all('/(\w*)="(.*?)"/us', $pattern, $options, PREG_SET_ORDER);
214 * @param string $pattern multi-line string of markers
217 private function getMarkers($pattern) { argument
221 preg_match_all('/.+/', $pattern, $lines, PREG_PATTERN_ORDER); // get all markers
/plugin/freechat/phpfreechat/lib/pear/PHPUnit/
H A DAssert.php328 function assertRegExp($pattern, $string, $message = '') { argument
334 $pattern
337 if (!preg_match($pattern, $string)) {
351 function assertNotRegExp($pattern, $string, $message = '') { argument
357 $pattern
360 if (preg_match($pattern, $string)) {
/plugin/structpublish/meta/
H A DAssignments.php60 $sql = 'SELECT * FROM structpublish_assignments_patterns ORDER BY pattern';
65 * Add a new assignment pattern to the pattern table
67 * @param string $pattern
72 public function addPattern($pattern, $user, $status) argument
74 // add the pattern
75 $sql = 'REPLACE INTO structpublish_assignments_patterns (pattern, user, status) VALUES (?,?,?)';
76 $ok = (bool) $this->sqlite->query($sql, [$pattern, $user, $status]);
103 * Remove an existing assignment pattern from the pattern tabl
110 removePattern($pattern, $user, $status) global() argument
[all...]
/plugin/pagetitle/syntax/
H A Dbreadcrumb.php27 protected $mode, $pattern; variable in syntax_plugin_pagetitle_breadcrumb
41 $this->pattern[5] = '~~\$Breadcrumb\([^\n~]*\)~~';
46 $this->Lexer->addSpecialPattern($this->pattern[5], $mode, $this->mode);
H A Dshorter.php27 protected $mode, $pattern; variable in syntax_plugin_pagetitle_shorter
41 $this->pattern[5] = '~~ShortTitle:[^\n~]*~~';
46 $this->Lexer->addSpecialPattern($this->pattern[5], $mode, $this->mode);

12345678910>>...28