ZF-11363: Allow dashes in keys of yaml files
Keys in yaml files containing dashes are broken and end up with only the last part of the key:
router: routes: my-route: route: my/route
...will result in...
router: routes: route: route: my/route
This is due the regex using /w, and is easily fixed by adding the dash (line 134).
I know, the documentation states 'specifying other parsers should you want more complex syntax' but just for a dash this seems overkill, especially as the other config classes DO support them.