Development

Changeset 8386

You must first sign up to be able to contribute.

Changeset 8386

Show
Ignore:
Timestamp:
04/10/08 16:16:35 (6 months ago)
Author:
fabien
Message:

fixed Yaml parsing of alias names too strict (closes #3300)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/yaml/sfYamlParser.class.php

    r8181 r8386  
    108108          } 
    109109        } 
    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)) 
    111111        { 
    112112          $isRef = $matches['ref'];