开发者

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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜