sha256 209d9ddd29197b7b797958cebb2b6bdb31423ffe65013cd4920bc0ed4feccbf2
%TAG !TAG2! tag:yaml.org,2002: --- !TAG2!str |3- leading
| grammar | valid, vouched for up to construct |
| tags | none |
| features | break/cr node/tag-handle presentation/block-indicator presentation/block-literal presentation/document-marker presentation/tag-directive value/string |
| meaning (yaml-1.2-core) | " leading" |
go-yaml libfyaml perlref yaml.v3 yamlstar
accept
go-yaml yamlstar
" leading"
libfyaml yaml.v3
"leading"
No source answered.
| parser | verdict | value | round trip | reason | message |
|---|---|---|---|---|---|
| perlref | accepted accept | n/i | n/i | ||
| libfyaml | accepted accept | different, explained | n/i | value: indicator-counted-from-0-value: the Python binding counts a top-level block scalar's indentation indicator from column 0, one space deeper than n+m with the root's n = -1, so the content loses a leading space: "|3-" over a line of 3 spaces gives "" for " " | |
| yamlstar | accepted accept | ok | n/i | ||
| yaml.v3 | accepted accept | different, explained | same | value: indicator-counted-from-0-value: yaml.v3 counts a top-level block scalar's indentation indicator from column 0, one space deeper than n+m with the root's n = -1. The content loses a leading space, "|3-" over a line of 3 spaces gives "" for " ", and a line at the spec's indentation falls outside the scalar: "|2-" over " #a" gives "" for "#a" | |
| go-yaml | accepted accept | ok | same |
Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.