Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#920·yaml

Anchors only support a limited subset of characters

Author: michaelruigrokCreated Nov 12, 2022Updated Mar 3, 2025

The YAML spec allows for anchors to contain any non-whitespace printable character except for []{},. https://yaml.org/spec/1.2.2/#692-node-anchors

The implementation currently only supports ascii alphanumerics a-zA-Z0-9_-.

Source: go-yaml/yaml

View original on GitHubView discussion on GitHub