Home
last modified time | relevance | path

Searched refs:pattern (Results 101 – 125 of 693) sorted by relevance

12345678910>>...28

/plugin/refnotes/
H A Dlocale.php76 $pattern = '/^' . $prefix . '_(.+)$/';
79 $pattern = '/^(' . $prefix . '_.+)$/';
85 if (preg_match($pattern, $key, $match) == 1) {
/plugin/imagepreview/
H A Dscript.js61 var pattern = /(\{\{)(.*?)\.(gif|jpg|jpeg|tiff|png)(.*?)(\}\})(.*?)/;
62 var containimg = pattern.test(seltext);
64 match= seltext.match(pattern);
/plugin/acknowledge/admin/
H A Dreport.php49 * @param string $pattern A page assignment pattern
52 protected function htmlPageStatus($pattern, $user = '')
61 $pages = $helper->getPagesMatchingPattern($pattern);
64 foreach ($pages as $pattern) {
67 $helper->getPageAcknowledgements($pattern, $user, $status, 1000)
143 $form->addTextInput('pg', $this->getLang('pattern'));
48 htmlPageStatus($pattern) global() argument
/plugin/dwtimeline/syntax/
H A Ddwtimeline.php142 $pattern = '/\[\[(?<link>.+?)\]\]/';
144 preg_match_all($pattern, $linkToCheck,$links);
323 $pattern = "/^\s*(
328 if (preg_match($pattern, $color)) {
/plugin/mikioplugin/
H A Daction.php18 function glob_recursive($pattern, $flags = 0) argument
20 $files = glob($pattern, $flags);
21 foreach (glob(dirname($pattern) . '/*', GLOB_ONLYDIR | GLOB_NOSORT) as $dir) {
22 $files = array_merge($files, glob_recursive($dir . '/' . basename($pattern), $flags));
/plugin/dwinsect/
H A Dsyntax.php110 $pattern='\[\*\(.*?(?=\)\])\)\]'; // [*(.....)]
111 $this->Lexer->addSpecialPattern($pattern, $mode, 'plugin_dwinsect' );
131 $pattern='/\[\*\('.'(?:(.*?)#)?([^|\)]*)'.'[|]?'.'(.*)'.'\)]/';
132 preg_match($pattern, $match, $subjects);
145 …$pattern='#(={2,}+[ ]*'.preg_quote(trim($anchor_name)).'[ ]*={2,}+\s*)(.*?)' .'(?=={2,}+…
146 if (preg_match($pattern, $this->wikitext, $section)) {
/plugin/authremoteuser/
H A Dauth.php246 $pattern = '/^('.join('|', $deleted).'):/';
247 if (!io_deleteFromFile($config_cascade['plainauth.users']['default'], $pattern, true)) {
411 foreach($this->_pattern as $item => $pattern) {
413 if(!preg_match($pattern, $user)) return false;
415 if(!count(preg_grep($pattern, $info['grps']))) return false;
417 if(!preg_match($pattern, $info[$item])) return false;
430 foreach($filter as $item => $pattern) {
431 … $this->_pattern[$item] = '/'.str_replace('/', '\/', $pattern).'/i'; // allow regex characters
/plugin/pagetitle/syntax/
H A Dyouarehere.php27 protected $mode, $pattern; variable in syntax_plugin_pagetitle_youarehere
41 $this->pattern[5] = '<!-- ?YOU_ARE_HERE ?-->';
46 $this->Lexer->addSpecialPattern($this->pattern[5], $mode, $this->mode);
/plugin/autolink2/
H A Daction.php39 $pattern=$anchors[0];
41 if ($pattern<>'' and $replace<>'') {
42 $replaced = preg_replace($pattern,$replace,$x);
/plugin/searchpattern/
H A Dsyntax.php336 $pattern = substr($match, 17, -3); //extract the pattern we are searching
337 …if(preg_match('/[^\']\'(\'\')*[^\']/', $pattern, $matches)){ //if there is at least one non-double…
343 $pattern=str_replace('\'\'', '\'', $pattern); //remove doubled quote from pattern
344 $params['or_pattern'] = $pattern; //and store it as original one
349 $pattern = '/'.str2regex($pattern).'/'; //convert pattern to regex
354 $pattern = '/'.str2regex($pattern).'/i'; //convert pattern to regex
359 if(!preg_match('/^\/.*\/[msixg]*$/', $pattern)){ //if regex is not correctly syntaxed
366 $params['pattern'] = $pattern; //store the final pattern that we use for searching
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/
H A DAbstractVariableSniff.php144 $pattern = '|(?<!\\\\)(?:\\\\{2})*\${?[a-zA-Z0-9_]+}?|';
145 if (preg_match($pattern, $tokens[$stackPtr]['content']) !== 0) {
186 $pattern = '|(?<!\\\\)(?:\\\\{2})*\${?[a-zA-Z0-9_]+}?|';
187 if (preg_match($pattern, $tokens[$stackPtr]['content']) !== 0) {
/plugin/combo/ComboStrap/
H A DTemplate.php62 $pattern = '/' .
67 $splits = preg_split($pattern, $this->_string, -1, PREG_SPLIT_DELIM_CAPTURE);
113 $pattern = '/' .
118 $result = preg_match_all($pattern, $this->_string, $matches);
H A DArrayUtility.php47 * @param $pattern
49 public static function filterArrayByKey(array &$array, $pattern) argument
52 if (preg_match('/' . $pattern . '/i', $key)) {
56 self::filterArrayByKey($value, $pattern);
/plugin/authvk/
H A Dauth.php249 $pattern = '/^('.join('|', $deleted).'):/';
250 if (!io_deleteFromFile($config_cascade['plainauth.users']['default'], $pattern, true)) {
414 foreach($this->_pattern as $item => $pattern) {
416 if(!preg_match($pattern, $user)) return false;
418 if(!count(preg_grep($pattern, $info['grps']))) return false;
420 if(!preg_match($pattern, $info[$item])) return false;
433 foreach($filter as $item => $pattern) {
434 … $this->_pattern[$item] = '/'.str_replace('/', '\/', $pattern).'/i'; // allow regex characters
/plugin/commonmark/vendor/league/commonmark/src/Util/
H A DRegexHelper.php124 * @psalm-param non-empty-string $pattern
130 public static function matchFirst(string $pattern, string $subject, int $offset = 0): ?array
136 \preg_match_all($pattern, $subject, $matches, \PREG_SET_ORDER);
108 matchAll(string $pattern, string $subject, int $offset = 0) global() argument
139 matchFirst(string $pattern, string $subject, int $offset = 0) global() argument
/plugin/struct/db/
H A Dupdate0005.sql2 pattern NOT NULL, field
4 PRIMARY KEY(pattern, tbl)
/plugin/combo/ComboStrap/TagAttribute/
H A DBackgroundAttribute.php53 * https://bansal.io/pattern-css
55 const PATTERN_ATTRIBUTE = "pattern";
56 const PATTERN_CSS_SNIPPET_ID = "pattern.css";
59 const PATTERN_CSS_CLASS_PREFIX = "pattern";
60 const PATTERN_COLOR_ATTRIBUTE = "pattern-color";
80 * use a CSS pattern (because it use the text color as one of painting color)
236 * Process the pattern css
237 * https://bansal.io/pattern-css
294 * Process the `pattern` attribute
296 * https://bansal.io/pattern
[all...]
/plugin/authimap2/
H A Dauth.php264 $pattern = '/^('.join('|', $deleted).'):/';
265 if (!io_deleteFromFile($config_cascade['plainauth.users']['default'], $pattern, true)) {
476 foreach($this->_pattern as $item => $pattern) {
478 if(!preg_match($pattern, $user)) return false;
480 if(!count(preg_grep($pattern, $info['grps']))) return false;
482 if(!preg_match($pattern, $info[$item])) return false;
495 foreach($filter as $item => $pattern) {
496 … $this->_pattern[$item] = '/'.str_replace('/', '\/', $pattern).'/i'; // allow regex characters
/plugin/typography/syntax/
H A Dwebfont.php23 $this->pattern[1] = '<wf\b.*?>(?=.*?</wf>)';
24 $this->pattern[4] = '</wf>';
H A Dfontweight.php23 $this->pattern[1] = '<fw\b.*?>(?=.*?</fw>)';
24 $this->pattern[4] = '</fw>';
H A Dbgcolor.php23 $this->pattern[1] = '<bg\b.*?>(?=.*?</bg>)';
24 $this->pattern[4] = '</bg>';
/plugin/icalevents/vendor/squizlabs/php_codesniffer/
H A DCodeSniffer.php902 if (isset($pattern['type']) === false) {
903 $pattern['type'] = 'absolute';
906 $this->ignorePatterns[(string) $pattern] = (string) $pattern['type'];
909 … echo "\t=> added global ".(string) $pattern['type'].' ignore pattern: '.(string) $pattern.PHP_EOL;
1305 $pattern['type'] = 'absolute';
1308 $this->ignorePatterns[$code][(string) $pattern] = (string) $pattern['type'];
1311 …echo "\t\t=> added sniff-specific ".(string) $pattern['type'].' ignore pattern: '.(string) $patter…
1686 if (is_int($pattern) === true) {
1687 $pattern = $type;
1703 $pattern = strtr($pattern, $replacements);
[all …]
/plugin/deletehistory/
H A Dhelper.php101 $pattern = "/^\d{10}\t[0-9\.]*\t[^C]\t/";
102 io_replaceInFile($conf['changelog'], $pattern, '', true);
103 io_replaceInFile($conf['media_changelog'], $pattern, '', true);
/plugin/inlinejs/syntax/
H A Dembedinline.php44 $this->pattern[1] = '<js>(?=.*?</js>)';
45 $this->pattern[4] = '</js>';
H A Dembedblock.php44 $this->pattern[1] = '<JS>(?=.*?</JS>)';
45 $this->pattern[4] = '</JS>';

12345678910>>...28