Searched refs:matches (Results 1 – 25 of 85) sorted by relevance
1234
72 $matches = [];73 … preg_match('/' . self::LONG_VARIABLE_NAME_CAPTURE_EXPRESSION . '/im', $part, $matches);74 $variable = $matches[1];118 $result = preg_match_all($pattern, $this->_string, $matches);121 $firstExpressionMatches = $matches[1];122 $secondExpressionMatches = $matches[2];
263 preg_match("/^([0-9.]+)([^0-9]*)$/i", $this->length, $matches, PREG_OFFSET_CAPTURE);264 if (sizeof($matches) === 0) {267 $localNumber = $matches[1][0];276 $secondMatch = $matches[2][0];293 preg_match("/^([0-9]+):([0-9]+)$/i", $this->length, $matches, PREG_OFFSET_CAPTURE);294 if (sizeof($matches) === 0) {297 $numerator = $matches[1][0];304 $denominator = $matches[2][0];
126 $result = preg_match("/(\d{4}-\d{2}-\d{2}).*/i", $lastName, $matches);128 $date = $matches[1];
211 $result = preg_match_all('/' . $attributePattern . '/i', $string, $matches);213 foreach ($matches[1] as $key => $parameterKey) {216 $value = $matches[3][$key];219 $value = $matches[2][$key];
194 if ($count && preg_match('#^'.$pattern.'$#', $name, $matches)) {195 array_shift($matches);196 $function->setArguments($matches);253 if ($count && preg_match('#^'.$pattern.'$#', $name, $matches)) {254 array_shift($matches);255 $filter->setArguments($matches);382 if (preg_match('#^'.$pattern.'$#', $name, $matches)) {383 array_shift($matches);384 $test->setArguments($matches);
215 preg_match('(^(?P<repeat>\d+)n$)D', $string, $matches) ||216 preg_match('(^(?P<repeat>[+-]?\d*)n(?P<add>[+-]\d+)$)D', $string, $matches)219 isset($matches['repeat']) && $matches['repeat'] !== ''220 ? (int)$matches['repeat'] : 1,221 isset($matches['add']) ? (int)$matches['add'] : 0
20 $result = preg_match_all("/$pattern/im", $content, $matches);30 $result = preg_match_all("/$pattern/im", $content, $matches);36 $result = preg_match_all("/$pattern/im", $content, $matches);
735 preg_match_all($pattern, $versionData, $matches);738 foreach ($matches[0] as $match) {1251 $string = preg_replace_callback('/%([^%]+)%/', static function ($matches) use ($lang) {1252 return $lang[$matches[1]] ?? '';1279 if (preg_match('/^([a-zA-Z]+)=(.*)/', $value, $matches)) {1280 $key = strtolower($matches[1]); // Extract the key (a-zA-Z part)1283 $str .= $matches[2];1298 … $string = preg_replace_callback('/{([^}]+)}/', static function ($matches) use ($options) {1299 $key = strtolower($matches[1]);1538 preg_match_all('/(<li[^>]*>.+?<\/li>)/', $html, $matches);[all …]
167 …=== $values['value'][0] && self::preg_match(self::REFERENCE_PATTERN, $values['value'], $matches)) {168 $isRef = $matches['ref'];170 $values['value'] = $matches['value'];199 …TRING.'|[^ \'"\{\[].*?) *\:(\s+(?P<value>.+?))?\s*$#u', $this->trimTag($values['value']), $matches)305 …=== $values['value'][0] && self::preg_match(self::REFERENCE_PATTERN, $values['value'], $matches)) {306 $isRef = $matches['ref'];308 $values['value'] = $matches['value'];741 …match('/^(?:'.self::TAG_PATTERN.' +)?'.self::BLOCK_SCALAR_HEADER_PATTERN.'$/', $value, $matches)) {742 $modifiers = $matches['modifiers'] ?? '';744 …$data = $this->parseBlockScalar($matches['separator'], preg_replace('#\d+#', '', $modifiers), abs(…[all …]
388 …= $value && '&' === $value[0] && Parser::preg_match(Parser::REFERENCE_PATTERN, $value, $matches)) {389 $references[$matches['ref']] = $matches['value'];390 $value = $matches['value'];530 …= $value && '&' === $value[0] && Parser::preg_match(Parser::REFERENCE_PATTERN, $value, $matches)) {531 $references[$matches['ref']] = $matches['value'];532 $value = $matches['value'];652 case preg_match('/^(?:\+|-)?0o(?P<value>[0-7_]++)$/', $scalar, $matches):653 $value = str_replace('_', '', $matches['value']);
263 $string = preg_replace_callback('#[^a-zA-Z0-9,\._]#Su', function ($matches) {264 $char = $matches[0];314 $string = preg_replace_callback('#[^a-zA-Z0-9]#Su', function ($matches) {315 $char = $matches[0];335 $string = preg_replace_callback('#[^a-zA-Z0-9,\.\-_]#Su', function ($matches) {342 $chr = $matches[0];
200 $matches = null;201 if (preg_match("/^(https?:\/\/)(.*):(.*)@(.*?)/U", $url, $matches)) {202 $this->url = $matches[1] . $matches[4];203 $auth_creds = $matches[2] . ':' . $matches[3];
77 return preg_replace_callback('/[^a-z0-9]/iSu', function ($matches) {78 $chr = $matches[0];
212 $matches = [];213 preg_match('#<' . $prefix . 'id>([^<]+)</' . $prefix . 'id>#', $xml->asXML(), $matches);214 if (isset($matches[1])) {215 $ext_dir = $profile_dir . '/extensions/' . $matches[1];
9 public function matches(int $symbol, int $minVocabSymbol, int $maxVocabSymbol) : bool function in Antlr\\Antlr4\\Runtime\\Atn\\Transitions\\NotSetTransition12 && !parent::matches($symbol, $minVocabSymbol, $maxVocabSymbol);
50 … if (preg_match('/((<path\b([\s\S]*?)\/>)|(<path\b([\s\S]*?)><\/path>))/', $svg, $matches) !== 1) {55 $svg = $matches[1];
864 preg_match("/^(Location:|URI:)[ ]+(.*)/i",chop($currentHeader),$matches);866 if(!preg_match("|\:\/\/|",$matches[2]))871 if(!preg_match("|^/|",$matches[2]))872 $this->_redirectaddr .= "/".$matches[2];874 $this->_redirectaddr .= $matches[2];877 $this->_redirectaddr = $matches[2];1032 preg_match("/^(Location: |URI:)\s+(.*)/",chop($result_headers[$currentHeader]),$matches);1034 if(!preg_match("|\:\/\/|",$matches[2]))1039 if(!preg_match("|^/|",$matches[2]))1040 $this->_redirectaddr .= "/".$matches[2];[all …]
67 $matches = preg_grep('/^'.preg_quote($level,'/').'\s+\S+\s+\d+\s*$/',$AUTH_ACL);69 foreach($matches as $match){
141 preg_match($pattern, $content, $matches);142 return substr($matches[0], 22, -14);
229 $matches = array();232 $matches[] = $this->getRunDate($currentTime, $i, $invert, $allowCurrentDate);238 return $matches;
89 $result = preg_match_all('/' . $attributePattern . '/i', $match, $matches);91 foreach ($matches[1] as $key => $parameterKey) {93 $value = $matches[2][$key];
278 var matches = item.match(/(>)([^<]*)(<)/g);282 if (matches && matches.length) {284 for (i = 0; i < matches.length; ++i) {285 if (matches[i].length > 2) {// escape '><'286 first.push(matches[i]);
880 $matches,885 $debug_object->debug_log(2, 'Matches Array: ', $matches);891 foreach ($matches as $m) {1122 $matches,1126 foreach ($matches as $match) {1675 $success = preg_match('/charset=(.+)/', $contentTypeHeader, $matches);1677 $charset = $matches[1];1704 $matches1708 $charset = $matches[1];2202 $matches,[all …]
884 $matches,889 $debug_object->debug_log(2, 'Matches Array: ', $matches);895 foreach ($matches as $m) {1126 $matches,1130 foreach ($matches as $match) {1681 $success = preg_match('/charset=(.+)/', $contentTypeHeader, $matches);1683 $charset = $matches[1];1710 $matches1714 $charset = $matches[1];2208 $matches,[all …]
12 if (mediaQuery.matches) {