Home
last modified time | relevance | path

Searched refs:pattern (Results 1 – 25 of 576) sorted by relevance

12345678910>>...24

/plugin/dokuprism/prism/
H A Dprism.js12pattern:/'(?:\\.|[^\\'\r\n])*'/,greedy:!0},"character-class":{pattern:/\[(?:\\.|[^\\\]\r\n])*\]/,g… property in Prism.languages.antlr4.character-class.inside.range
14pattern:/'(?:[^'\r\n]|'')*'/,greedy:!0},number:/¯?(?:\d*\.?\d+(?:e[+¯]?\d+)?|¯|∞)(?:j¯?(?:\d*\.?\d… property in Prism.languages.apl.system-function
33 …={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pat… property in Prism.languages.brainfuck.decrement
67pattern:/((?:^|\r?\n|\r)([\t ]*))(?:\/|-#).*(?:(?:\r?\n|\r)\2[\t ]+.+)*/,lookbehind:!0,alias:"comm… property in e.languages.haml.code
89pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:…
91pattern:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,greedy:!0},string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/… property in Prism.languages.json.string
133pattern:/(^([\t ]*))\/\/.*(?:(?:\r?\n|\r)\2[\t ]+.+)*/m,lookbehind:!0},"multiline-script":{pattern property in e.languages.pug.flow-control
148pattern:/(\s*)(?:\+[=-]+)+\+(?:\r?\n|\r)(?:\1(?:[+|].+)+[+|](?:\r?\n|\r))+\1(?:\+[=-]+)+\+/,lookbe… property in Prism.languages.rest.quoted-literal-block
150pattern:/(^|\s)(?:(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{)|(?:external|import)\b)/,lookbehind… property in Prism.languages.roboconf.optional
155pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|\/\/.*)/,lookbehind:!0},atrule:{pattern:/@[\w-]+(?:\([^()]+\…
[all …]
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/
H A DAbstractPatternSniff.php107 foreach ($patterns as $pattern) {
108 $parsedPattern = $this->_parse($pattern);
150 private function _getPatternTokenTypes($pattern) argument
153 foreach ($pattern as $pos => $patternInfo) {
177 private function _getListenerTokenPos($pattern) argument
280 $pattern = $patternInfo['pattern'];
440 $patternLen = count($pattern);
447 if ($pattern[$i]['type'] === 'token') {
794 private function _parse($pattern) argument
797 $length = strlen($pattern);
[all …]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Factory/Resource/
H A 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);
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);
131 …or($this->current()->getPathname(), \RecursiveDirectoryIterator::FOLLOW_SYMLINKS), $this->pattern);
/plugin/extendpage/meta/
H A DAssignments.php69 * @param string $pattern
73 public function addPattern($pattern, $page, $pos) argument
92 * @param string $pattern
155 public function assignPageExtension($page, $pattern) argument
240 if ($pattern[0] == '/') {
248 $ans = ':' . cleanID($pattern) . ':';
249 if (substr($pattern, -2) == '**') {
254 } elseif (substr($pattern, -1) == '*') {
261 if (cleanID($pattern) == $page) {
274 public function propagatePageAssignments($pattern) argument
[all …]
/plugin/jplayer/vendor/robloach/component-installer/src/ComponentInstaller/Util/
H A DFilesystem.php24 * @param string $pattern
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));
54 * @param string $pattern
62 public function recursiveGlobFiles($pattern, $flags = 0) argument
64 $files = $this->recursiveGlob($pattern, $flags);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Squiz/Sniffs/CSS/
H A DForbiddenStylesSniff.php112 $pattern = null;
116 $pattern = preg_replace(
129 $pattern = substr($pattern, 1, -2);
136 $this->addError($phpcsFile, $stackPtr, $style, $pattern);
148 * @param string $pattern The pattern used for the match.
152 protected function addError($phpcsFile, $stackPtr, $style, $pattern=null) argument
164 if ($pattern === null) {
165 $pattern = $style;
168 if ($this->forbiddenStyles[$pattern] !== null) {
169 $data[] = $this->forbiddenStyles[$pattern];
[all …]
/plugin/fckg/syntax/
H A Ddwplugin.php51 $pattern=trim($pattern);
84 $pattern=trim($pattern);
97 $match = $pattern;
140 $pattern=trim($pattern);
148 $pattern = preg_replace('/<\s+/', "<", $pattern);
149 $pattern = preg_replace('/\s+>/', ">", $pattern);
150 $pattern = str_replace('%%',"",$pattern);
152 $pattern = str_replace('<',"< ",$pattern);
153 $pattern = str_replace('>'," >",$pattern);
155 $pattern = htmlspecialchars($pattern);
[all …]
/plugin/findologicxmlexport/vendor/phpunit/phpunit/src/Framework/Constraint/
H A DPCREMatch.php25 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;
58 $this->pattern
/plugin/jquery-syntax/jquery-syntax/
H A Djquery.syntax.brush.css.js5pattern){return"("+Syntax.Brush.convertStringToTokenPattern(pattern,true)+")";}),jQuery.map(colorP… argument
6pattern:/\{(.|\n)*?\}/g,klass:'properties',allow:'*'});brush.push({pattern:/\:(.*?(?=\})|(.|\n)*?(…
H A Djquery.syntax.brush.html.js5pattern:/<script.*?type\=.?text\/javascript.*?>((.|\n)*?)<\/script>/gmi,matches:Syntax.extractMatc…
H A Djquery.syntax.brush.bash-script.js5pattern:/(?:^|\||;|&&)\s*((?:"([^"]|\\")+"|'([^']|\\')+'|\\\n|.|[ \t])+?)(?=$|\||;|&&)/gmi,matches…
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.xmlComment
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.assembly.js5pattern:/\.[a-zA-Z_][a-zA-Z0-9_]*/gm,klass:'directive'});brush.push({pattern:/^[a-zA-Z_][a-zA-Z0-9…
/plugin/elasticsearch/vendor/ruflin/elastica/lib/Elastica/Aggregation/
H A DAbstractTermsAggregation.php25 * @param string $pattern a regular expression
30 public function setInclude(string $pattern, string $flags = null): self argument
33 return $this->setParam('include', $pattern);
37 'pattern' => $pattern,
45 * @param string $pattern a regular expression
50 public function setExclude(string $pattern, string $flags = null): self argument
53 return $this->setParam('exclude', $pattern);
57 'pattern' => $pattern,
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Util/
H A DCssUtils.php54 $pattern = static::REGEX_URLS;
56 return static::filterCommentless($content, function ($part) use (& $callback, $pattern) {
57 return preg_replace_callback($pattern, $callback, $part);
72 $pattern = $includeUrl ? static::REGEX_IMPORTS : static::REGEX_IMPORTS_NO_URLS;
74 return static::filterCommentless($content, function ($part) use (& $callback, $pattern) {
75 return preg_replace_callback($pattern, $callback, $part);
89 $pattern = static::REGEX_IE_FILTERS;
91 return static::filterCommentless($content, function ($part) use (& $callback, $pattern) {
92 return preg_replace_callback($pattern, $callback, $part);
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/Generic/Sniffs/PHP/
H A DForbiddenFunctionsSniff.php170 $pattern = null;
174 $pattern = preg_replace(
187 $pattern = substr($pattern, 1, -2);
194 $this->addError($phpcsFile, $stackPtr, $tokens[$stackPtr]['content'], $pattern);
206 * @param string $pattern The pattern used for the match.
210 protected function addError($phpcsFile, $stackPtr, $function, $pattern=null) argument
222 if ($pattern === null) {
223 $pattern = strtolower($function);
226 if ($this->forbiddenFunctions[$pattern] !== null
227 && $this->forbiddenFunctions[$pattern] !== 'null'
[all …]
/plugin/tplinc/
H A Dhelper.php87 list($pattern, $page, $loc, $skipacl) = $row;
89 $page = $this->matchPagePattern($pattern, $id, $page, $pns);
138 * @param string $pattern the pattern to check against
144 protected function matchPagePattern($pattern, $id, $page, $pns = null) { argument
145 if(trim($pattern, ':') == '**') return $page; // match all
148 if($pattern{0} == '/') {
149 if(preg_match($pattern, ":$id", $matches)) {
163 $ans = ':' . cleanID($pattern) . ':';
164 if(substr($pattern, -2) == '**') {
169 } else if(substr($pattern, -1) == '*') {
[all …]
/plugin/dokuprism/syntax/
H A Dcode.php27 $this->pattern[1] = '<file\b.*?>(?=.*?</file>)';
28 $this->pattern[2] = '</file>';
30 $this->pattern[11] = '<code\b.*?>(?=.*?</code>)';
31 $this->pattern[12] = '</code>';
36 …if ($this->getConf('override_file')) $this->Lexer->addEntryPattern($this->pattern[1], $mode, $thi…
37 …if ($this->getConf('override_code')) $this->Lexer->addEntryPattern($this->pattern[11], $mode, $thi…
42 …if ($this->getConf('override_file')) $this->Lexer->addExitPattern($this->pattern[2], $this->mode);
43 …if ($this->getConf('override_code')) $this->Lexer->addExitPattern($this->pattern[12], $this->mode);
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Factory/Worker/
H A DEnsureFilterWorker.php29 private $pattern; variable in Assetic\\Factory\\Worker\\EnsureFilterWorker
36 * @param string $pattern A regex for checking the asset's target URL
40 public function __construct($pattern, FilterInterface $filter, $flags = null) argument
46 $this->pattern = $pattern;
54 …HECK_SOURCE === (self::CHECK_SOURCE & $this->flags) && preg_match($this->pattern, $asset->getSourc…
56 …HECK_TARGET === (self::CHECK_TARGET & $this->flags) && preg_match($this->pattern, $asset->getTarge…
/plugin/inlinejs/syntax/
H A Dpreloader.php42 protected $mode, $pattern; variable in syntax_plugin_inlinejs_preloader
50 $this->pattern[1] = '<PRELOAD\b[^\n\r]*?>(?=.*?</PRELOAD>)';
51 $this->pattern[21] = '<link [^\n\r]*?>';
52 $this->pattern[22] = '<style>.*?</style>';
53 $this->pattern[23] = '<script\b[^\n\r]*?>.*?</script>';
54 $this->pattern[4] = '</PRELOAD>';
59 $this->Lexer->addEntryPattern($this->pattern[1], $mode, $this->mode);
64 $this->Lexer->addExitPattern($this->pattern[4], $this->mode);
65 $this->Lexer->addPattern($this->pattern[21], $this->mode);
66 $this->Lexer->addPattern($this->pattern[22], $this->mode);
[all …]
/plugin/combo/action/
H A Dhiddenpage.php36 $pattern = "(" . $conf['sidebar'] . "|" . PluginUtility::COMBOSTRAP_NAMESPACE_NAME;
41 $pattern .= "|" . TplUtility::getFooterSlotPageName();
42 $pattern .= "|" . TplUtility::getSideKickSlotPageName();
43 $pattern .= "|" . TplUtility::getHeaderSlotPageName();
47 $pattern .= ")";
48 if (preg_match('/' . $pattern . '/ui', ':' . $event->data['id'])) {
/plugin/struct/meta/
H A DAssignments.php71 * @param string $pattern
75 public function addPattern($pattern, $table) argument
92 * @param string $pattern
96 public function removePattern($pattern, $table) argument
285 * @param string $pattern the pattern to check against
295 if ($pattern[0] == '/') {
296 return (bool) preg_match($pattern, ":$page");
303 $ans = ':' . cleanID($pattern) . ':';
304 if (substr($pattern, -2) == '**') {
309 } elseif (substr($pattern, -1) == '*') {
[all …]
/plugin/redirect2/
H A Dhelper.php14 public $pattern = NULL; variable in helper_plugin_redirect2
30 if ($this->pattern != NULL) return;
36 $this->pattern = unserialize($cache->retrieveCache(false));
41 $cache->storeCache(serialize($this->pattern));
46 $this->pattern = NULL;
76 $this->pattern[$ptn] = array(
80 return ($this->pattern != NULL) ? true : false;
/plugin/combo/ComboStrap/
H A DSanitizer.php17 $pattern = "<$forbiddenNode";
18 $result = preg_match_all("/$pattern/im", $content, $matches);
27 $pattern = "style=";
28 $result = preg_match_all("/$pattern/im", $content, $matches);
33 $pattern = "on[a-zA-Z]*=";
34 $result = preg_match_all("/$pattern/im", $content, $matches);
/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 …]

12345678910>>...24