Ticket #3300: sfYamlParser.class.php.diff
| File sfYamlParser.class.php.diff, 0.7 kB (added by lsmith, 9 months ago) |
|---|
-
sfYamlParser.class.php
old new 107 107 throw new InvalidArgumentException(sprintf('In place substitution must point to a reference on line %s.', $this->currentLine)); 108 108 } 109 109 } 110 else if (isset($values['value']) && preg_match('#^&(?P<ref>\ w+) *(?P<value>.*)#', $values['value'], $matches))110 else if (isset($values['value']) && preg_match('#^&(?P<ref>\.+) *(?P<value>.*)#', $values['value'], $matches)) 111 111 { 112 112 $isRef = $matches['ref']; 113 113 $values['value'] = $matches['value'];