Home
last modified time | relevance | path

Searched refs:matches (Results 101 – 125 of 1144) sorted by relevance

12345678910>>...46

/plugin/bibtex4dw/lib/
H A Dbibtexparser.php485 $matches = array();
486 preg_match('/^@\w+\{(.+)/', $entry, $matches);
487 if (count($matches) > 0) {
488 $m = explode('=', $matches[1], 2);
497 $matches = array();
498 preg_match('/^@(\w+)\{(.+),/', $entry, $matches);
499 if (count($matches) > 0) {
500 $entryType = $matches[1];
501 $key = $matches[2];
598 $matches
[all...]
/plugin/fedauth/Auth/Yadis/
H A DParseHTML.php102 $matches = array();
106 if (preg_match($double, $str, $matches)) {
107 return $matches[1];
108 } else if (preg_match($single, $str, $matches)) {
109 return $matches[1];
172 $matches = array();
173 preg_match($pat, $html_string, $matches, PREG_OFFSET_CAPTURE);
174 if($matches) {
175 $key_tags_pos[] = $matches[0][1];
/plugin/odt/ODT/elements/
H A DODTElementFrame.php154 $frameTag = $matches [0];
158 $params->content = str_replace ($matches [0], $frameTag, $params->content);
232 if ( preg_match('/svg:width="[^"]+"/', $this->attributes, $matches) === 1 ) {
233 $width = substr ($matches [0], 11);
243 if ( preg_match('/svg:width="[^"]+"/', $this->attributes, $matches) === 1 ) {
245 $this->attributes = str_replace($matches [0], $widthAttr, $this->attributes);
254 if ( preg_match('/draw:name="[^"]+"/', $this->attributes, $matches) === 1 ) {
255 return $matches [0];
263 if ( preg_match('/draw:name="[^"]+"/', $this->attributes, $matches) === 1 ) {
264 $name = substr ($matches [0], 10);
[all …]
/plugin/commonmark/vendor/league/commonmark/src/Util/
H A DRegexHelper.php109 $matches = [];
111 if (! \preg_match($regex, $string, $matches, \PREG_OFFSET_CAPTURE)) {
116 $charPos = \mb_strlen(\mb_strcut($string, 0, $matches[0][1], 'UTF-8'), 'UTF-8');
122 * Functional wrapper around preg_match_all which only returns the first set of matches
136 \preg_match_all($pattern, $subject, $matches, \PREG_SET_ORDER);
138 if ($matches === []) {
142 return $matches[0] ?: null;
/plugin/google_cal/
H A Dsyntax.php35 $matches = array();
38 if (preg_match('/(.*)\[(.*)\]$/', trim($url), $matches)) {
39 $url = $matches[1];
40 if (strpos($matches[2],',') !== false) {
41 @list($w, $h) = explode(',',$matches[2],2);
43 $h = $matches[2];
/plugin/markdowku/
H A Dimagesinline.php31 $matches);
32 $target = $matches[2] == '' ? $matches[3] : $matches[2];
33 $title = $matches[1];
H A Danchorsinline.php32 $matches);
33 $target = $matches[2] == '' ? $matches[3] : $matches[2];
34 $title = $matches[1];
H A Dimagesreference.php39 $matches);
41 $title = $matches[1];
43 if ($matches[2] == '')
44 $rid = $matches[1];
46 $rid = $matches[2];
/plugin/findologicxmlexport/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/
H A DExample.php87 if (! preg_match('/^(?:\"([^\"]+)\"|(\S+))(?:\s+(.*))?$/sux', $body, $matches)) {
93 if ('' !== $matches[1]) {
94 $filePath = $matches[1];
96 $fileUri = $matches[2];
103 if (array_key_exists(3, $matches)) {
104 $description = $matches[3];
107 … if (preg_match('/^([1-9]\d*)(?:\s+((?1))\s*)?(.*)$/sux', $matches[3], $contentMatches)) {
H A DSource.php57 if (preg_match('/^([1-9]\d*)\s*(?:((?1))\s+)?(.*)$/sux', $body, $matches)) {
58 $startingLine = (int)$matches[1];
59 if (isset($matches[2]) && $matches[2] !== '') {
60 $lineCount = (int)$matches[2];
63 $description = $matches[3];
/plugin/icalevents/vendor/squizlabs/php_codesniffer/CodeSniffer/Standards/PEAR/Sniffs/Commenting/
H A DFileCommentSniff.php498 $matches = array();
499 if (preg_match('/^([0-9]{4})((.{1})([0-9]{4}))? (.+)$/', $content, $matches) !== 0) {
501 if ($matches[3] !== '' && $matches[3] !== null) {
502 if ($matches[3] !== '-') {
507 if ($matches[4] !== '' && $matches[4] !== null && $matches[4] < $matches[1]) {
508 …$error = "Invalid year span \"$matches[1]$matches[3]$matches[4]\" found; consider \"$matches[4]-$m…
539 $matches = array();
540 preg_match('/^([^\s]+)\s+(.*)/', $content, $matches);
541 if (count($matches) !== 3) {
H A DFunctionCommentSniff.php182 $matches = array();
184 $exception = $matches[1];
185 if (isset($matches[2]) === true) {
186 $comment = $matches[2];
228 $matches = array();
231 if (empty($matches) === false) {
232 $typeLen = strlen($matches[1]);
233 $type = trim($matches[1]);
241 if (isset($matches[2]) === true) {
242 $var = $matches[2];
[all …]
/plugin/numbering/
H A Daction.php45 function ($matches) {
46 if(strpos($matches[0],'bureaucracy') == false) return $matches[0];
48 …$matches[2] = preg_replace('#class=\"edit.*?\"#', 'value = "" data-db="'. $matches[1] . '" id="' .…
49 …$retv = '<label>' .$matches[1] .' ' . $matches[2]. '&nbsp;&nbsp;<img src="' . NUMBERING_ICON . '…
/plugin/icalevents/vendor/sabre/vobject/lib/
H A DTimeZoneUtil.php151 (preg_match('/^GMT(\+|-)([0-9]{4})$/', $tzid, $matches)) ||
171 if (preg_match('/^\((UTC|GMT)(\+|\-)[\d]{2}\:[\d]{2}\) (.*)/', $tzid, $matches)) {
172 $tzidAlternate = $matches[3];
180 if (preg_match('/^GMT(\+|-)([0-9]{4})$/', $tzid, $matches)) {
188 … return new \DateTimeZone('Etc/GMT' . $matches[1] . ltrim(substr($matches[2], 0, 2), '0'));
/plugin/top/
H A DCrawlerDetect.php26 protected $matches = array(); variable in Jaybizzle\\CrawlerDetect\\CrawlerDetect
405 $result = preg_match('/'.$this->getRegex().'/i', $agent, $matches);
407 if ($matches) {
408 $this->matches = $matches;
421 return $this->matches[0];
/plugin/crypto/
H A Dsyntax.php91 if (ereg($pattern, $xml, $matches)) {
92 return $matches[1];
101 if (ereg($pattern, $xml, $matches)) {
102 return $matches[1];
106 if (ereg($pattern, $xml, $matches)) {
107 return $matches[1];
/plugin/rating/
H A DCrawlerDetect.php26 protected $matches = array(); variable in Jaybizzle\\CrawlerDetect\\CrawlerDetect
405 $result = preg_match('/'.$this->getRegex().'/i', $agent, $matches);
407 if ($matches) {
408 $this->matches = $matches;
421 return $this->matches[0];
/plugin/webdav/vendor/sabre/vobject/lib/
H A DTimeZoneUtil.php150 (preg_match('/^GMT(\+|-)([0-9]{4})$/', $tzid, $matches)) ||
169 if (preg_match('/^\((UTC|GMT)(\+|\-)[\d]{2}\:[\d]{2}\) (.*)/', $tzid, $matches)) {
170 $tzidAlternate = $matches[3];
178 if (preg_match('/^GMT(\+|-)([0-9]{4})$/', $tzid, $matches)) {
185 return new \DateTimeZone('Etc/GMT'.$matches[1].ltrim(substr($matches[2], 0, 2), '0'));
/plugin/const/
H A Dclass.evalmath.php181 if ( in_array( $matches[1], $this->constants, true ) ) {
185 $tmp = $this->pfx( $this->nfx( $matches[2] ) );
190 $this->variables[ $matches[1] ] = $tmp;
197 $function_name = $matches[1];
203 $matches[2] = str_replace( array( "\n", "\r", "\t", ' ' ), '', $matches[2] );
204 $args = explode( ',', $matches[2] );
207 $stack = $this->nfx( $matches[3] );
338 $function_name = $matches[1];
407 …( in_array( $matches[1], $this->builtin_functions, true ) || array_key_exists( $matches[1], $this-…
414 $value = $matches[1];
[all …]
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Safebrowsing/
H A DGoogleSecuritySafebrowsingV4FindThreatMatchesResponse.php29 public function setMatches($matches) argument
31 $this->matches = $matches;
38 return $this->matches;
/plugin/oembed/
H A Dsyntax.php82 if(preg_match($this->regex_master, $tag, $matches)){
83 return array('url' => $matches['url'],
84 'params' => $this->parseParams($matches['params']));
109 if($matches['type'] == '?'){
110 $parsed_params['provider'][$matches['name']] = $matches['value'];
112 else if($matches['type'] == '!'){
113 $parsed_params['plugin'][$matches['name']] = $matches['value'];
169 if(!preg_match('/^\s*(?<type>[^;\s]+)(.*)?/', $header, $matches)){
173 switch($matches['type']){
461 preg_match_all('/<link\s+(.*?)\s*\/?>/si', $html, $matches);
[all …]
/plugin/jquery-syntax/jquery-syntax/
H A Djquery.syntax.brush.html.js5matches:Syntax.extractMatches({brush:'javascript'})});brush.push({pattern:/<style.*?type=.?text\/c…
/plugin/exttab3/helper/
H A Dodt.php26 if (preg_match('/style=".*"/', $attr, $matches) === 1) {
27 $style = substr($matches[0], 6);
33 if (preg_match('/rowspan[ ]*=[ ]*"([0-9]*)"/', $attr, $matches) === 1) {
34 $rowspan = $matches[1];
39 if (preg_match('/colspan[ ]*=[ ]*"([0-9]*)"/', $attr, $matches) === 1) {
40 $colspan = $matches[1];
/plugin/encryptedpasswords/script/
H A DEditorHandling.js72 const matches = [...text.matchAll(re)];
74 for (let i = 0; i < matches.length; i++) {
75 const cipher = matches[i][1];
78 text = text.replace(matches[i][0], `<encrypt>${clear}</encrypt>`);
140 const matches = [...text.matchAll(re)];
142 for (let i = 0; i < matches.length; i++) {
143 const clear = matches[i][1];
145 text = text.replace(matches[i][0], `<decrypt>${cipher}</decrypt>`);
/plugin/authucenter/lib/uc_client/model/
H A Dmisc.php66 $matches = parse_url($url);
67 $scheme = $matches['scheme'];
68 $host = $matches['host'];
69 …$path = $matches['path'] ? $matches['path'].($matches['query'] ? '?'.$matches['query'] : '') : '/';
70 $port = !empty($matches['port']) ? $matches['port'] : 80;

12345678910>>...46