why do you have only AlphaNumeric allowed in anchor name?
I am using yaml-cpp in my project, and find out that an anchor name is only allowed to consist of AlphaNumeric characters. I failed to find such restriction in the spec, only found this:
Anchor names must not contain the “[”, “]”, “{”, “}” and “,” characters
Can you please indicate if this is yaml-cpp implementation specificity or there is information in th开发者_如何学JAVAe spec, which I missed? Thanks!
You're absolutely right - and as of revision 429, anchor parsing is more relaxed. Thanks for the note!
精彩评论