Home
last modified time | relevance | path

Searched refs:pattern (Results 226 – 250 of 693) sorted by relevance

12345678910>>...28

/plugin/combo/syntax/
H A Ditext.php71 $pattern = XmlTagProcessing::getContainerTagPattern(self::TAG);
72 $this->Lexer->addEntryPattern($pattern, $mode, PluginUtility::getModeFromTag($this->getPluginComponent()));
H A Dtab.php14 * The name of the class must follow a pattern (don't change it)
79 * Create a pattern that will called this plugin
88 $pattern = XmlTagProcessing::getContainerTagPattern(self::TAG);
89 $this->Lexer->addEntryPattern($pattern, $mode, PluginUtility::getModeFromTag($this->getPluginComponent()));
103 * The handle function goal is to parse the matched syntax through the pattern function
H A Dtabpanels.php20 * The name of the class must follow a pattern (don't change it)
84 * Create a pattern that will called this plugin
92 $pattern = XmlTagProcessing::getContainerTagPattern(self::TAG);
93 $this->Lexer->addEntryPattern($pattern, $mode, PluginUtility::getModeFromTag($this->getPluginComponent()));
106 * The handle function goal is to parse the matched syntax through the pattern function
H A Dunit.php87 $pattern = XmlTagProcessing::getContainerTagPattern(self::TAG);
88 $this->Lexer->addEntryPattern($pattern, $mode, 'plugin_' . PluginUtility::PLUGIN_BASE_NAME . '_' . $this->getPluginComponent());
102 * You get the match for each pattern in the $match variable
103 * $state says if it's an entry, exit or match pattern
H A Dxmlprotectedtag.php93 $pattern = XmlTagProcessing::getContainerTagPattern($tag);
94 $this->Lexer->addEntryPattern($pattern, $mode, PluginUtility::getModeFromTag($this->getPluginComponent()));
110 * The handle function goal is to parse the matched syntax through the pattern function
H A Dcite.php66 $pattern = XmlTagProcessing::getContainerTagPattern(self::TAG);
67 $this->Lexer->addEntryPattern($pattern, $mode, PluginUtility::getModeFromTag($this->getPluginComponent()));
81 * The handle function goal is to parse the matched syntax through the pattern function
H A Dfooter.php29 * The name of the class must follow a pattern (don't change it)
90 * Create a pattern that will called this plugin
98 $pattern = XmlTagProcessing::getContainerTagPattern(self::TAG);
99 $this->Lexer->addEntryPattern($pattern, $mode, PluginUtility::getModeFromTag($this->getPluginComponent()));
112 * The handle function goal is to parse the matched syntax through the pattern function
H A Dmetadata.php133 $pattern = PluginUtility::getEmptyTagPattern(self::TAG);
134 $this->Lexer->addSpecialPattern($pattern, $mode, PluginUtility::getModeFromTag($this->getPluginComponent()));
141 * The handle function goal is to parse the matched syntax through the pattern function
H A Dtext.php89 $pattern = XmlTagProcessing::getContainerTagPattern($tag);
90 $this->Lexer->addEntryPattern($pattern, $mode, PluginUtility::getModeFromTag($this->getPluginComponent()));
H A Dxmlinlinetag.php27 * The name of the class must follow a pattern (don't change it)
114 * Create a pattern that will called this plugin
124 $pattern = XmlTagProcessing::getContainerTagPattern($tag);
125 $this->Lexer->addEntryPattern($pattern, $mode, 'plugin_' . PluginUtility::PLUGIN_BASE_NAME . '_' . $this->getPluginComponent());
142 * The handle function goal is to parse the matched syntax through the pattern function
H A Dheadingatx.php75 $pattern = '\r??\n\s*#{1,6}\s?(?=.*' . self::EXIT_PATTERN . ')';
76 $this->Lexer->addSpecialPattern($pattern, $mode, PluginUtility::getModeFromTag($this->getPluginComponent()));
H A Dtogglecollapse.php68 * Create a pattern that will called this plugin
80 $pattern = XmlTagProcessing::getContainerTagPattern(self::getTag());
81 $this->Lexer->addEntryPattern($pattern, $mode, 'plugin_' . PluginUtility::PLUGIN_BASE_NAME . '_' . $this->getPluginComponent());
/plugin/mdpage/vendor/cebe/markdown/block/
H A DListTrait.php84 …$pattern = ($type === 'ol') ? '/^( {0,'.$leadSpace.'})(\d+)\.[ \t]+/' : '/^( {0,'.$leadSpace.'})\\…
85 if (preg_match($pattern, $line, $matches)) {
117 } elseif (preg_match($pattern, $lines[$i + 1])) {
/plugin/hyphenation/phpHyphenation/
H A Dhyphenation.php84 $pattern = $GLOBALS["patterns"][mb_substr($text_word, $position, $win)];
86 $pattern_length = mb_strlen($pattern);
89 $char = $pattern[$i];
/plugin/swiftmail/Swift/Plugin/
H A DFileEmbedder.php243 $pattern = sprintf($pattern_format, $tag_name, implode("|", $def["attributes"]),
245 return $pattern;
260 $pattern = sprintf($pattern_format, $tag_name, implode("|", $def["attributes"]),
262 return $pattern;
/plugin/aclplusregex/_test/
H A Dacl.test.php
/plugin/firenews/
H A Dsyntax.php400 * @param string $pattern regex pattern to search for
404 private function setLanguage(string $file, string $pattern): string { argument
406 $result = preg_replace_callback($pattern,
/plugin/authwordpress/
H A Dauth.php80 * Filter pattern
146 * @param array $filter array of field/pattern pairs
339 // Build PCRE pattern, utf8 + case insensitive
345 * Return true if given user matches filter pattern, false otherwise.
354 foreach ($this->filter as $elem => $pattern) {
356 if (!preg_grep($pattern, $info['grps'])) {
360 if (!preg_match($pattern, $info[$elem])) {
/plugin/struct/action/
H A Doutput.php138 $pattern = '~@' . self::DW2PDF_PLACEHOLDER_PREFIX . '_[^@]+?@~';
139 $event->data['content'] = preg_replace($pattern, '', $event->data['content']);
/plugin/icons/syntax/
H A Dicon.php18 protected $pattern = '{{icon>.+?}}'; variable in syntax_plugin_icons_icon
45 …$this->Lexer->addSpecialPattern($this->pattern, $mode, 'plugin_icons_'.$this->getPluginComponent()…
46 …$this->Lexer->addSpecialPattern(sprintf($this->linkPattern, $this->pattern), $mode, 'plugin_icons_…
72 if (isset($title) && preg_match('/'.$this->pattern.'/', $title)) {
/plugin/authldaplocal/
H A Dauth.php462 $pattern = '/^('.join('|', $deleted).'):/';
463 if (!io_deleteFromFile($config_cascade['plainauth.users']['default'], $pattern, true)) {
665 foreach($this->_pattern as $item => $pattern) {
667 if(!preg_match($pattern, $user)) return false;
669 if(!count(preg_grep($pattern, $info['grps']))) return false;
671 if(!preg_match($pattern, $info[$item])) return false;
684 foreach($filter as $item => $pattern) {
685 … $this->_pattern[$item] = '/'.str_replace('/', '\/', $pattern).'/i'; // allow regex characters
/plugin/givemeyouremail/
H A Dsyntax.php160 $pattern = '/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/';
161 if(empty($email_adress) || !preg_match($pattern,$email_adress)){
/plugin/fontcolor/
H A Dsyntax.php197 $pattern = "/
203 return (preg_match($pattern, $c));
/plugin/currentlyreading/
H A Dsyntax.php28 …$pattern = '\{\{reading\b>[[:blank:]]??[[:alnum:]]{1}(?:[[:alnum:]]|[[:blank:]]|\.|,|-|_|:)+?[[:al…
29 $this->Lexer->addSpecialPattern($pattern, $mode, 'plugin_currentlyreading');
/plugin/pot/
H A Dhelper.php16 $pattern = "/
22 preg_match($pattern, $c, $out);

12345678910>>...28