Lines Matching refs:matches
171 …value'][0] && self::preg_match('#^&(?P<ref>[^ ]+) *(?P<value>.*)#u', $values['value'], $matches)) {
172 $isRef = $matches['ref'];
174 $values['value'] = $matches['value'];
191 …TRING.'|[^ \'"\{\[].*?) *\:(\s+(?P<value>.+?))?\s*$#u', $this->trimTag($values['value']), $matches)
296 …lue'][0] && self::preg_match('#^&(?P<ref>[^ ]++) *+(?P<value>.*)#u', $values['value'], $matches)) {
297 $isRef = $matches['ref'];
299 $values['value'] = $matches['value'];
662 …match('/^(?:'.self::TAG_PATTERN.' +)?'.self::BLOCK_SCALAR_HEADER_PATTERN.'$/', $value, $matches)) {
663 $modifiers = isset($matches['modifiers']) ? $matches['modifiers'] : '';
665 …$data = $this->parseBlockScalar($matches['separator'], preg_replace('#\d+#', '', $modifiers), (int…
667 if ('' !== $matches['tag'] && '!' !== $matches['tag']) {
668 if ('!!binary' === $matches['tag']) {
672 return new TaggedValue(substr($matches['tag'], 1), $data);
777 self::preg_match($pattern, $this->currentLine, $matches)
785 $blockLines[] = $matches[1];
1008 …public static function preg_match(string $pattern, string $subject, array &$matches = null, int $f… argument
1010 if (false === $ret = preg_match($pattern, $subject, $matches, $flags, $offset)) {
1054 …!== $value[0] || 1 !== self::preg_match('/^'.self::TAG_PATTERN.' *( +#.*)?$/', $value, $matches)) {
1062 $tag = substr($matches['tag'], 1);
1073 …enabled. You must use the flag "Yaml::PARSE_CUSTOM_TAGS" to use "%s".', $matches['tag']), $this->g…