[yaml] added error handling for preg_match error results returning specific error messages (closes #7211, patch from cryodox)
[yaml] added error handling for preg_match error results returning specific error messages (closes #7211, patch from cryodox)

git-svn-id: eb40f308bf1d815258b979d032d59e01989ca262@22405 ee427ae8-e902-0410-961c-c3ed070cd9f9

fabpot-graveyard/yaml,aredridel/symfony1-yaml