/plugin/refnotes/ |
H A D | locale.php | 76 $pattern = '/^' . $prefix . '_(.+)$/'; 79 $pattern = '/^(' . $prefix . '_.+)$/'; 85 if (preg_match($pattern, $key, $match) == 1) {
|
/plugin/imagepreview/ |
H A D | script.js | 61 var pattern = /(\{\{)(.*?)\.(gif|jpg|jpeg|tiff|png)(.*?)(\}\})(.*?)/; 62 var containimg = pattern.test(seltext); 64 match= seltext.match(pattern);
|
/plugin/acknowledge/admin/ |
H A D | report.php | 49 * @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 D | dwtimeline.php | 142 $pattern = '/\[\[(?<link>.+?)\]\]/'; 144 preg_match_all($pattern, $linkToCheck,$links); 323 $pattern = "/^\s*( 328 if (preg_match($pattern, $color)) {
|
/plugin/mikioplugin/ |
H A D | action.php | 18 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 D | syntax.php | 110 $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 D | auth.php | 246 $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 D | youarehere.php | 27 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 D | action.php | 39 $pattern=$anchors[0]; 41 if ($pattern<>'' and $replace<>'') { 42 $replaced = preg_replace($pattern,$replace,$x);
|
/plugin/searchpattern/ |
H A D | syntax.php | 336 $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 D | AbstractVariableSniff.php | 144 $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 D | Template.php | 62 $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 D | ArrayUtility.php | 47 * @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 D | auth.php | 249 $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 D | RegexHelper.php | 124 * @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 D | update0005.sql | 2 pattern NOT NULL, field 4 PRIMARY KEY(pattern, tbl)
|
/plugin/combo/ComboStrap/TagAttribute/ |
H A D | BackgroundAttribute.php | 53 * 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 D | auth.php | 264 $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 D | webfont.php | 23 $this->pattern[1] = '<wf\b.*?>(?=.*?</wf>)'; 24 $this->pattern[4] = '</wf>';
|
H A D | fontweight.php | 23 $this->pattern[1] = '<fw\b.*?>(?=.*?</fw>)'; 24 $this->pattern[4] = '</fw>';
|
H A D | bgcolor.php | 23 $this->pattern[1] = '<bg\b.*?>(?=.*?</bg>)'; 24 $this->pattern[4] = '</bg>';
|
/plugin/icalevents/vendor/squizlabs/php_codesniffer/ |
H A D | CodeSniffer.php | 902 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 D | helper.php | 101 $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 D | embedinline.php | 44 $this->pattern[1] = '<js>(?=.*?</js>)'; 45 $this->pattern[4] = '</js>';
|
H A D | embedblock.php | 44 $this->pattern[1] = '<JS>(?=.*?</JS>)'; 45 $this->pattern[4] = '</JS>';
|