Home
last modified time | relevance | path

Searched refs:pattern (Results 26 – 50 of 693) sorted by relevance

12345678910>>...28

/plugin/authgooglesheets/vendor/google/apiclient-services/src/DLP/
H A DGooglePrivacyDlpV2Regex.php30 public $pattern; variable in Google\\Service\\DLP\\GooglePrivacyDlpV2Regex
49 public function setPattern($pattern) argument
51 $this->pattern = $pattern;
58 return $this->pattern;
/plugin/combo/ComboStrap/
H A DIso8601Date.php257 public function formatLocale($pattern = null, $locale = null) argument
272 if (strpos($pattern, "%") !== false) {
273 LogUtility::warning("The date format ($pattern) is no more supported. Why ? Because Php has deprecated <a href=\"https://www.php.net/manual/en/function.strftime.php\">strftime</a>. You need to use the <a href=\"https://unicode-org.github.io/icu/userguide/format_parse/datetime/#datetime-format-syntax\">Unicode Date Time format</a>", self::CANONICAL);
274 return strftime($pattern, $this->dateTime->getTimestamp());
280 * when the pattern is null
288 if ($pattern !== null) {
289 $normalFormat = explode(" ", $pattern);
294 $pattern = null;
310 $pattern
317 if ($pattern
[all...]
/plugin/jquery-syntax/jquery-syntax/
H A Djquery.syntax.brush.assembly.js5pattern:/\.[a-zA-Z_][a-zA-Z0-9_]*/gm,klass:'directive'});brush.push({pattern:/^[a-zA-Z_][a-zA-Z0-9…
H A Djquery.syntax.brush.diff.js5pattern:/^\+\+\+.*$/gm,klass:'add'});brush.push({pattern:/^\-\-\-.*$/gm,klass:'del'});brush.push({
H A Djquery.syntax.core.js6 if(!RegExp.prototype.escape){RegExp.escape=function(pattern){return pattern.replace(/[\-\[\]{}()*+?… argument
26pattern:/\/\*[\s\S]*?\*\//gm,klass:'comment',allow:['href']};Syntax.lib.cppStyleComment={pattern:/… property in Syntax.lib.cStyleComment
77 …tch.prototype.split=function(pattern){var splits=[],match;while((match=pattern.exec(this.value))!=… argument
81pattern,escape){var prefix="\\b",postfix="\\b";if(!pattern.match(/^\w/)){if(!pattern.match(/\w$/))… argument
83 pattern=RegExp.escape(pattern)
84 return prefix+pattern+postfix;}
85 Syntax.Brush.MatchPattern=function(text,rule){if(!rule.pattern)
86 return[];var matches=[],pattern=new RegExp;pattern.compile(rule.pattern);while((match=pattern.exec(…
87 if(rule.incremental){pattern.lastIndex=match.index+1;}}
90 …{pattern:new RegExp(all,rule.options||'g')},rule));}else{var rule=arguments[0];if(typeof(rule.patt…
[all …]
H A Djquery.syntax.brush.clang.js6pattern:/@property\((.*)\)[^;]+;/gmi,klass:'objective-c-property',allow:'*'});var propertyAttribut…
H A Djquery.syntax.brush.xml.js5pattern:/&\w+;/g,klass:'entity'};Syntax.lib.xmlPercentEscape={pattern:/(%[0-9a-f]{2})/gi,klass:'pe… property in Syntax.lib.xmlEntity
H A Djquery.syntax.brush.ruby.js5pattern:/(?:def\s+|\.)([a-z_][a-z0-9_]+)/gi,matches:Syntax.extractMatches({klass:'function'})};Syn… property in Syntax.lib.rubyStyleFunction
H A Djquery.syntax.brush.applescript.js6pattern];brush.push(Syntax.lib.webLink);brush.push(comments,{klass:'comment',allow:['href']});brus…
7 brush.push({pattern:/\b(?:about|above|against|around|at|below|beneath|beside|between|by|(apart|asid…
8 brush.push({pattern:/\b(?:adding folder items to|after receiving|choose( ((remote )?application|col…
/plugin/elasticsearch/vendor/ruflin/elastica/src/Aggregation/
H A DAbstractTermsAggregation.php30 * @param string $pattern a regular expression, following the Regexp syntax
34 public function setInclude(string $pattern): self argument
36 return $this->setParam('include', $pattern);
71 * @param string $pattern a regular expression
75 public function setExclude(string $pattern): self argument
77 return $this->setParam('exclude', $pattern);
/plugin/acknowledge/admin/
H A Dassign.php35 $pattern = $INPUT->arr('pattern');
37 $patterns = array_combine($pattern, $assignees);
60 $form->addHTML($this->getLang('pattern'));
66 foreach ($assignments as $pattern => $assignees) {
67 $this->addRow($form, $pattern, $assignees);
78 * @param string $pattern
82 public function addRow($form, $pattern, $assignee)
88 $form->addTextInput("pattern[$row]")->val($pattern);
76 addRow($form, $pattern, $assignee) global() argument
[all...]
/plugin/revealjs/syntax/
H A Dbackground.php259 $pattern = '/^(?:none|fade|slide|convex|concave|zoom)(?:-in|-out)?$/';
260 if (preg_match($pattern, $val)) return $val;
269 $pattern = '/^bg-(?:none|fade|slide|convex|concave|zoom)$/';
270 if (preg_match($pattern, $val)) return $val;
286 if (preg_match($pattern, $val)) return $val;
295 $pattern = '/^.+\.(?:gif|png|jpg|jpeg|svg)$/i';
296 if (preg_match($pattern, $val)) return $val;
304 $pattern = '/^\d+(?:px|%)|auto|contain|cover$/';
305 if (preg_match($pattern, $val)) return $val;
313 $pattern = '/^\d+(?:px|%),\d+(?:px|%)$/';
[all …]
/plugin/findologicxmlexport/vendor/hoa/ustring/
H A DUstring.php328 * @param string $pattern Pattern.
340 $pattern .= 'u';
343 return $pattern;
360 $pattern, argument
366 $pattern = static::safePattern($pattern);
381 $pattern,
403 $pattern = static::safePattern($pattern);
407 $pattern,
414 $pattern,
434 $pattern, argument
[all …]
/plugin/aclplusregex/
H A Daction.php131 foreach ($config as [$id, $pattern, $perm]) {
133 $patterns = $this->getIDPatterns($entities, $id, $pattern);
134 foreach ($patterns as $pattern) {
135 // for the exactly same pattern, we only keep the highest permission
136 $rules[$pattern] = max($rules[$pattern] ?? AUTH_NONE, $perm);
185 * @param string $pattern The user pattern part of the config rule
188 protected function getIDPatterns($entities, $id, $pattern)
196 // pattern no
186 getIDPatterns($entities, $id, $pattern) global() argument
[all...]
/plugin/interwikipaste/
H A Daction.php44 $pattern = preg_quote_cb($url);
49 $pattern = preg_replace(
52 $pattern,
58 $pattern .= '([^ ]+)?';
63 'pattern' => $pattern,
/plugin/codeprettify/syntax/
H A Dcode.php28 protected $mode, $pattern; variable in syntax_plugin_codeprettify_code
45 $this->pattern[1] = '<Code\b'.$param.'>'.'(?=.*?</Code>)';
46 $this->pattern[4] = '</Code>';
49 $this->pattern[11] = '<code\b.*?>(?=.*?</code>)';
50 $this->pattern[14] = '</code>';
55 $this->Lexer->addEntryPattern($this->pattern[1], $mode, $this->mode);
57 $this->Lexer->addEntryPattern($this->pattern[11], $mode, $this->mode);
63 $this->Lexer->addExitPattern($this->pattern[4], $this->mode);
65 $this->Lexer->addExitPattern($this->pattern[14], $this->mode);
/plugin/commentsyntax/syntax/
H A Dcstyle.php33 protected $mode, $pattern; variable in syntax_plugin_commentsyntax_cstyle
40 $this->pattern = [
56 $this->Lexer->addEntryPattern($this->pattern[1], $mode, $this->mode);
59 $this->Lexer->addSpecialPattern($this->pattern[5], $mode, $this->mode);
65 $this->Lexer->addExitPattern($this->pattern[4], $this->mode);
/plugin/highlightparent/
H A Daction.php70 $pattern = trim($this->getConf('namespace pattern'));
71 if ($pattern === '') {
75 return $this->getParentIDFromPattern($pattern);
81 * @param string $pattern regex to match a namespace
85 protected function getParentIDFromPattern($pattern) argument
90 if (preg_match('/' . $pattern . '/', $ID, $matches) === 1) {
/plugin/crypto/
H A Dsyntax.php90 $pattern = '>(.*)<';
91 if (ereg($pattern, $xml, $matches)) {
100 $pattern = $name ."='([^']*)')";
101 if (ereg($pattern, $xml, $matches)) {
105 $pattern = $name .'="([^"]*)"';
106 if (ereg($pattern, $xml, $matches)) {
/plugin/findologicxmlexport/vendor/phpunit/phpunit/tests/Util/
H A DRegexTest.php35 public function testValidRegex($pattern, $subject, $return) argument
37 $this->assertEquals($return, PHPUnit_Util_Regex::pregMatchSafe($pattern, $subject));
43 public function testInvalidRegex($pattern, $subject) argument
45 $this->assertFalse(PHPUnit_Util_Regex::pregMatchSafe($pattern, $subject));
/plugin/nspages/
H A DoptionParser.php15 static function checkRegEx(&$match, $pattern, &$arrayAffected) {
16 optionParser::preg_match_all_wrapper($pattern, $match, $found);
27 * @param string $pattern The pattern which activate the option
31 static function checkOption(&$match, $pattern, &$varAffected, $valIfFound) {
32 if(optionParser::preg_match_wrapper($pattern, $match, $found)) {
155 static private function preg_match_wrapper($pattern, $subject, &$matches){
156 return preg_match('/\s-' . $pattern . '/i', $subject, $matches); argument
159 static private function preg_match_all_wrapper($pattern, $subject, &$matches){
160 return preg_match_all('/\s-' . $pattern
12 checkRegEx(& $match, $pattern, & $arrayAffected) global() argument
28 checkOption(& $match, $pattern, & $varAffected, $valIfFound) global() argument
152 preg_match_wrapper($pattern, $subject, & $matches) global() argument
[all...]
/plugin/statistics/inc/
H A DBrowscap.php317 foreach ($this->_patterns as $pattern => $pattern_data) {
318 if (preg_match($pattern . 'i', $user_agent, $matches)) {
344 trim(strtolower($pattern), self::REGEX_DELIMITER),
345 $this->_pregUnQuote($pattern, $simple_match ? false : $matches)
534 $pattern = $this->_pregQuote($user_agent);
536 $matches_count = preg_match_all('@\d@', $pattern, $matches);
539 $tmp_patterns[$pattern] = $i;
541 $compressed_pattern = preg_replace('@\d@', '(\d)', $pattern);
544 $tmp_patterns[$compressed_pattern] = array('first' => $pattern);
573 foreach ($tmp_patterns as $pattern
629 deduplicateCompressionPattern($matches, & $pattern) global() argument
692 _pregUnQuote($pattern, $matches) global() argument
[all...]
/plugin/typography/syntax/
H A Dfontcolor.php25 $this->pattern[1] = '<fc\b.*?>(?=.*?</fc>)';
26 $this->pattern[4] = '</fc>';
32 $this->Lexer->addEntryPattern($this->pattern[1], $mode, $this->mode);
39 $this->Lexer->addExitPattern($this->pattern[4], $this->mode);
H A Dfontfamily.php25 $this->pattern[1] = '<ff\b.*?>(?=.*?</ff>)';
26 $this->pattern[4] = '</ff>';
32 $this->Lexer->addEntryPattern($this->pattern[1], $mode, $this->mode);
39 $this->Lexer->addExitPattern($this->pattern[4], $this->mode);
H A Dfontsize.php25 $this->pattern[1] = '<fs\b.*?>(?=.*?</fs>)';
26 $this->pattern[4] = '</fs>';
32 $this->Lexer->addEntryPattern($this->pattern[1], $mode, $this->mode);
39 $this->Lexer->addExitPattern($this->pattern[4], $this->mode);

12345678910>>...28