shape/indentation/a tagged literal scalar whose content opens with a tab

sha256 56d940bca80c37498bc7d0694aea5d3eed7e3562d7cca7ff48e95a7c9f1cc1e7

Document

--- !!str |
	x
	y

Corpus

grammarvalid, vouched for up to construct
indentation/tab-opens-contentopen from parse on: each parser's stance decides
featuresnone
meaning (yaml-1.2-core)"\tx\n\ty\n"

Answer groups

verdict split

go-yaml libfyaml perlref yamlstar

accept

yaml.v3

refuse by the parser

value

go-yaml libfyaml yamlstar

"\tx\n\ty\n"

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted accept n/i n/i
libfyaml accepted accept ok n/i
yamlstar accepted accept ok n/i
yaml.v3 rejected, explained refuse by the parser rejected, explained refused tab-opens-block-content: yaml.v3 rejects a tab at the start of a block scalar's content, where the indentation ends and the tab is content: "|\n \tx" rejects the document
value: tab-opens-block-content: yaml.v3 rejects a tab at the start of a block scalar's content, where the indentation ends and the tab is content: "|\n \tx" rejects the document
yaml.v3: yaml: line 2: found a tab character where an indentation space is expected
go-yaml accepted accept ok same

Corpus compact, 28279 cases, yamlcorpus/48. Run 2026-11-26 22:12 UTC, 23m30s.