generated/1185

sha256 f99ac27a757ca9b57152075f476e20b80c073114b775570a6b208d5c4589ca37

Document

!<tag:yaml.org,2002:str> |6-
       


Corpus

grammarvalid, vouched for up to construct
tagsnone
featuresbreak/cr node/tag-verbatim presentation/block-indicator presentation/block-literal presentation/chomp-padded value/string
meaning (yaml-1.2-core)" "

Answer groups

verdict

go-yaml libfyaml perlref yaml.v3 yamlstar

accept

value split

go-yaml yamlstar

"  "

libfyaml

""

yaml.v3

" "

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
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.