Home
last modified time | relevance | path

Searched full:pattern (Results 1 – 25 of 1801) sorted by relevance

12345678910>>...73

/plugin/webdav/
Dphpcs.xml14 <exclude-pattern>*/lang/*/lang.php</exclude-pattern>
15 <exclude-pattern>*/lang/*/settings.php</exclude-pattern>
16 <exclude-pattern>*/_test/*</exclude-pattern>
17 <exclude-pattern>*/vendor/*</exclude-pattern>
18 <exclude-pattern>*/tmp/*</exclude-pattern>
22 <!-- the following rule is not in PSR-2 and breaks the guardian pattern -->
31 <exclude-pattern>action.php</exclude-pattern>
32 <exclude-pattern>action/*.php</exclude-pattern>
33 <exclude-pattern>syntax.php</exclude-pattern>
34 <exclude-pattern>syntax/*.php</exclude-pattern>
[all …]
/plugin/cleanoldips/
Dphpcs.xml14 <exclude-pattern>*/lang/*/lang.php</exclude-pattern>
15 <exclude-pattern>*/lang/*/settings.php</exclude-pattern>
16 <exclude-pattern>*/_test/*</exclude-pattern>
20 <!-- the following rule is not in PSR-2 and breaks the guardian pattern -->
29 <exclude-pattern>action.php</exclude-pattern>
30 <exclude-pattern>action/*.php</exclude-pattern>
31 <exclude-pattern>syntax.php</exclude-pattern>
32 <exclude-pattern>syntax/*.php</exclude-pattern>
33 <exclude-pattern>helper.php</exclude-pattern>
34 <exclude-pattern>helper/*.php</exclude-pattern>
[all …]
/plugin/issuelinks/
Dphpcs.xml14 <exclude-pattern>*/lang/*/lang.php</exclude-pattern>
15 <exclude-pattern>*/lang/*/settings.php</exclude-pattern>
16 <exclude-pattern>*/_test/*</exclude-pattern>
20 <!-- the following rule is not in PSR-2 and breaks the guardian pattern -->
29 <exclude-pattern>action.php</exclude-pattern>
30 <exclude-pattern>action/*.php</exclude-pattern>
31 <exclude-pattern>syntax.php</exclude-pattern>
32 <exclude-pattern>syntax/*.php</exclude-pattern>
33 <exclude-pattern>helper.php</exclude-pattern>
34 <exclude-pattern>helper/*.php</exclude-pattern>
[all …]
/plugin/gdpr/
Dphpcs.xml14 <exclude-pattern>*/lang/*/lang.php</exclude-pattern>
15 <exclude-pattern>*/lang/*/settings.php</exclude-pattern>
16 <exclude-pattern>*/_test/*</exclude-pattern>
20 <!-- the following rule is not in PSR-2 and breaks the guardian pattern -->
29 <exclude-pattern>action.php</exclude-pattern>
30 <exclude-pattern>action/*.php</exclude-pattern>
31 <exclude-pattern>syntax.php</exclude-pattern>
32 <exclude-pattern>syntax/*.php</exclude-pattern>
33 <exclude-pattern>helper.php</exclude-pattern>
34 <exclude-pattern>helper/*.php</exclude-pattern>
[all …]
/plugin/asciidocjs/node_modules/minimatch/
Dminimatch.js1 const minimatch = module.exports = (p, pattern, options = {}) => {
2 assertValidPattern(pattern)
5 if (!options.nocomment && pattern.charAt(0) === '#') {
9 return new Minimatch(pattern, options).match(p)
54 // characters that indicate we have to add the pattern start
60 minimatch.filter = (pattern, options = {}) => argument
61 (p, i, list) => minimatch(p, pattern, options)
77 const m = (p, pattern, options) => orig(p, pattern, ext(def, options)) argument
79 constructor (pattern, options) { argument
80 super(pattern, ext(def, options))
[all …]
DREADME.md58 var mm = new Minimatch(pattern, options)
63 * `pattern` The original pattern the minimatch object represents.
67 array corresponds to a brace-expanded pattern. Each item in the row
68 corresponds to a single path-part. For example, the pattern
74 If a portion of the pattern doesn't have any "magic" in it
80 expressing the entire pattern. This is useful in cases where you wish
81 to use the pattern somewhat like `fnmatch(3)` with `FNM_PATH` enabled.
82 * `negate` True if the pattern is negated.
83 * `comment` True if the pattern is a comment.
84 * `empty` True if the pattern is `""`.
[all …]
/plugin/asciidocjs/node_modules/jake/node_modules/minimatch/
Dminimatch.js51 function filter (pattern, options) { argument
54 return minimatch(p, pattern, options)
77 var m = function minimatch (p, pattern, options) { argument
78 return orig(p, pattern, ext(def, options))
81 m.Minimatch = function Minimatch (pattern, options) { argument
82 return new orig.Minimatch(pattern, ext(def, options))
88 m.filter = function filter (pattern, options) { argument
89 return orig.filter(pattern, ext(def, options))
96 m.makeRe = function makeRe (pattern, options) { argument
97 return orig.makeRe(pattern, ext(def, options))
[all …]
DREADME.md44 var mm = new Minimatch(pattern, options)
49 * `pattern` The original pattern the minimatch object represents.
53 array corresponds to a brace-expanded pattern. Each item in the row
54 corresponds to a single path-part. For example, the pattern
60 If a portion of the pattern doesn't have any "magic" in it
66 expressing the entire pattern. This is useful in cases where you wish
67 to use the pattern somewhat like `fnmatch(3)` with `FNM_PATH` enabled.
68 * `negate` True if the pattern is negated.
69 * `comment` True if the pattern is a comment.
70 * `empty` True if the pattern is `""`.
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/
DAbstractPatternSniff.php3 * Processes pattern strings and checks that the code conforms to the pattern.
22 * Processes pattern strings and checks that the code conforms to the pattern.
107 foreach ($patterns as $pattern) {
108 $parsedPattern = $this->_parse($pattern);
110 // Find a token position in the pattern that we can use
118 'pattern' => $parsedPattern,
119 'pattern_code' => $pattern,
135 * Returns the token types that the specified pattern is checking for.
141 * // should occur in the pattern.
145 * @param array $pattern The parsed pattern to find the acquire the token
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/MySource/
Druleset.xml5 <exclude-pattern>*/Tests/*</exclude-pattern>
6 <exclude-pattern>*/Oven/*</exclude-pattern>
7 <exclude-pattern>*/data/*</exclude-pattern>
8 <exclude-pattern>*/jquery.js</exclude-pattern>
9 <exclude-pattern>*/jquery.*.js</exclude-pattern>
10 <exclude-pattern>*/viper/*</exclude-pattern>
11 <exclude-pattern>DALConf.inc</exclude-pattern>
/plugin/jplayer/vendor/robloach/component-installer/src/ComponentInstaller/Util/
DFilesystem.php22 * Performs a recursive-enabled glob search with the given pattern.
24 * @param string $pattern
25 * The pattern passed to glob(). If the pattern contains "**", then it
31 * An array of files that match the recursive pattern given.
33 public function recursiveGlob($pattern, $flags = 0) argument
36 $files = glob($pattern, $flags);
39 if (strpos($pattern, '**') !== FALSE) {
40 $dirs = glob(dirname($pattern).DIRECTORY_SEPARATOR.'*', GLOB_ONLYDIR|GLOB_NOSORT);
43 …s = array_merge($files, $this->recursiveGlob($dir.DIRECTORY_SEPARATOR.basename($pattern), $flags));
52 * Performs a recursive glob search for files with the given pattern.
[all …]
/plugin/asciidocjs/node_modules/glob/
DREADME.md50 * `!(pattern|pattern|pattern)` Matches anything that does not match
52 * `?(pattern|pattern|pattern)` Matches zero or one occurrence of the
54 * `+(pattern|pattern|pattern)` Matches one or more occurrences of the
57 * `@(pattern|pat*|pat?erN)` Matches exactly one of the patterns
66 then it will not match any glob pattern unless that pattern's
69 For example, the pattern `a/.*/c` would match the file at `a/.b/c`.
70 However the pattern `a/*/c` would not, because `*` does not start with
78 If you set `matchBase:true` in the options, and the pattern has no
86 differs from the shell, where the pattern itself is returned. For
97 * `man bash` (Search for "Pattern Matching")
[all …]
/plugin/diagramsnet/lib/WEB-INF/
Dweb.xml17 <url-pattern>/proxy</url-pattern>
27 <url-pattern>/embed.js</url-pattern>
37 <url-pattern>/embed2.js</url-pattern>
47 <url-pattern>/gadget.xml</url-pattern>
57 <url-pattern>/i/*</url-pattern>
67 <url-pattern>/github2</url-pattern>
77 <url-pattern>/app</url-pattern>
86 <url-pattern>/log</url-pattern>
96 <url-pattern>/microsoft</url-pattern>
106 <url-pattern>/google</url-pattern>
[all …]
/plugin/extendpage/meta/
DAssignments.php60 $sql = 'SELECT * FROM assignments_patterns ORDER BY pattern';
67 * Add a new assignment pattern to the pattern table
69 * @param string $pattern
73 public function addPattern($pattern, $page, $pos) argument
75 // add the pattern
76 $sql = 'REPLACE INTO assignments_patterns (pattern, page, pos) VALUES (?,?,?)';
77 $ok = (bool) $this->sqlite->query($sql, array($pattern, $page, $pos));
90 * Remove an existing assignment pattern from the pattern table
92 * @param string $pattern
98 // remove the pattern
[all …]
/plugin/statistics/vendor/matomo/device-detector/
H A Dphpcs.xml7 <exclude-pattern>vendor/</exclude-pattern>
25 <exclude-pattern>misc/</exclude-pattern>
26 <exclude-pattern>Tests/</exclude-pattern>
30 <exclude-pattern>misc/</exclude-pattern>
31 <exclude-pattern>autoload.php</exclude-pattern>
35 <exclude-pattern>misc/</exclude-pattern>
36 <exclude-pattern>autoload.php</exclude-pattern>
45 <exclude-pattern>misc/</exclude-pattern>
46 <exclude-pattern>Tests/</exclude-pattern>
/plugin/asciidocjs/node_modules/jake/lib/
Drule.js34 // Given a pattern p, say 'foo:bin/a%.c'
67 this.pattern = opts.pattern;
84 let pattern;
97 pattern = this.pattern;
101 src = Rule.getSource(name, pattern, source);
166 return Rule.match(this.pattern, name);
169 // Test wether the a prerequisite matchs the pattern.
170 // The arg 'pattern' does not have namespace as prefix.
173 // pattern | name
179 // pattern | name
[all …]
/plugin/deletepageguard/tests/
H A Dtest_runner.php66 // Test 1: Pattern Validation - Valid Patterns
67 $runner->addTest('Pattern Validation - Valid Simple Pattern', function() {
73 $runner->addTest('Pattern Validation - Valid Complex Pattern', function() {
79 $runner->addTest('Pattern Validation - Valid Namespace Pattern', function() {
85 // Test 2: Pattern Validation - Invalid Patterns
86 $runner->addTest('Pattern Validation - Invalid Syntax', function() {
92 $runner->addTest('Pattern Validation - ReDoS Protection', function() {
98 $runner->addTest('Pattern Validation - Another ReDoS Pattern', function() {
104 $runner->addTest('Pattern Validation - ReDoS Simple Plus Pattern', function() {
110 $runner->addTest('Pattern Validation - ReDoS Simple Star Pattern', function() {
[all …]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Factory/Resource/
DDirectoryResource.php22 private $pattern; variable in Assetic\\Factory\\Resource\\DirectoryResource
28 * @param string $pattern A filename pattern
30 public function __construct($path, $pattern = null) argument
37 $this->pattern = $pattern;
82 …rsiveDirectoryIterator($this->path, \RecursiveDirectoryIterator::FOLLOW_SYMLINKS), $this->pattern);
101 * Filters files by a basename pattern.
108 protected $pattern; variable in Assetic\\Factory\\Resource\\DirectoryResourceFilterIterator
110 public function __construct(\RecursiveDirectoryIterator $iterator, $pattern = null) argument
114 $this->pattern = $pattern;
126 return null === $this->pattern || 0 < preg_match($this->pattern, $name);
[all …]
/plugin/recommend/helper/
H A Dassignment.php22 if (empty($assignment['pattern'])) {
29 $assignment['pattern'] === $data['pattern']
52 return $hlp::matchPagePattern($data['pattern']);
60 * Check if the given pattern matches the given page
62 * @param string $pattern the pattern to check against
69 public static function matchPagePattern($pattern, $page = null, $pns = null) argument
73 if (trim($pattern, ':') == '**') {
78 if ($pattern[0] == '/') {
79 return (bool) preg_match($pattern, ":$page");
86 $ans = ':' . cleanID($pattern) . ':';
[all …]
/plugin/deletepageguard/
H A Daction.php102 $pattern = trim($rawPattern);
103 if ($pattern === '') {
107 // Validate and secure the regex pattern
108 $validationResult = $this->validateRegexPattern($pattern, $lineNumber + 1);
119 if ($this->matchesPattern($pattern, $matchTarget)) {
185 * Validate a regex pattern for security and correctness
188 * pattern is syntactically correct. Returns detailed error messages.
191 * @param string $pattern The regex pattern to validate
195 public function validateRegexPattern($pattern, $lineNumber = 0) { argument
199 if (trim($pattern) === '') {
[all …]
/plugin/structpublish/helper/
H A Dassignments.php14 * Check if the given pattern matches the given page
16 * @param string $pattern the pattern to check against
22 public function matchPagePattern($pattern, $page, $pns = null) argument
24 if (trim($pattern, ':') == '**') {
29 if ($pattern[0] == '/') {
30 return (bool) preg_match($pattern, ":$page");
37 $ans = ':' . cleanID($pattern) . ':';
38 if (substr($pattern, -2) == '**') {
43 } elseif (substr($pattern, -1) == '*') {
48 } elseif (cleanID($pattern) == $page) {
/plugin/struct/meta/
H A DAssignments.php62 $sql = 'SELECT * FROM schema_assignments_patterns ORDER BY pattern';
67 * Add a new assignment pattern to the pattern table
69 * @param string $pattern
73 public function addPattern($pattern, $table) argument
75 // add the pattern
76 $sql = 'REPLACE INTO schema_assignments_patterns (pattern, tbl) VALUES (?,?)';
77 $ok = (bool)$this->sqlite->query($sql, [$pattern, $table]);
88 * Remove an existing assignment pattern from the pattern table
90 * @param string $pattern
94 public function removePattern($pattern, $table) argument
[all …]
/plugin/structtemplate/
Dphpcs.xml19 <exclude-pattern>lang/*/lang.php</exclude-pattern>
20 <exclude-pattern>lang/*/settings.php</exclude-pattern>
21 <exclude-pattern>_vagrant/*</exclude-pattern>
25 <!-- This rule breaks the single line guard pattern that we prefer to keep using -->
34 <exclude-pattern>syntax/block.php</exclude-pattern>
35 <exclude-pattern>syntax/inline.php</exclude-pattern>
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/Constraint/
DPCREMatch.php16 * in PHP. The pattern is matched by executing preg_match().
18 * The pattern string passed in the constructor.
25 protected $pattern; variable in PHPUnit_Framework_Constraint_PCREMatch
28 * @param string $pattern
30 public function __construct($pattern) argument
33 $this->pattern = $pattern;
46 return preg_match($this->pattern, $other) > 0;
57 'matches PCRE pattern "%s"',
58 $this->pattern
/plugin/structpublish/
H A Dadmin.php32 * Based on struct pattern assignments
48 if (!blank($assignment['pattern']) && !blank($assignment['status'])) {
51 $assignment['pattern'],
56 msg('failed to remove pattern', -1);
59 if ($assignment['pattern'][0] == '/') {
60 if (@preg_match($assignment['pattern'], null) === false) {
61 msg('Invalid regular expression. Pattern not saved', -1);
64 $assignment['pattern'],
69 msg('failed to add pattern', -1);
74 $assignment['pattern'],
[all …]

12345678910>>...73