Lines Matching refs:matches
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(…
746 if ('' !== $matches['tag'] && '!' !== $matches['tag']) {
747 if ('!!binary' === $matches['tag']) {
751 return new TaggedValue(substr($matches['tag'], 1), $data);
865 self::preg_match($pattern, $this->currentLine, $matches)
873 $blockLines[] = $matches[1];
1082 …public static function preg_match(string $pattern, string $subject, array &$matches = null, int $f… argument
1084 if (false === $ret = preg_match($pattern, $subject, $matches, $flags, $offset)) {
1128 …!== $value[0] || 1 !== self::preg_match('/^'.self::TAG_PATTERN.' *( +#.*)?$/', $value, $matches)) {
1136 $tag = substr($matches['tag'], 1);
1147 …enabled. You must use the flag "Yaml::PARSE_CUSTOM_TAGS" to use "%s".', $matches['tag']), $this->g…