generated/1967/substitute an indicator/15

sha256 6f61b83c913f083e7be75290caf03b8c043a4fec0e84e9e85c8a513169f06f36

Document

%YAML 1.2
---
|-
   l
|

Corpus

grammarinvalid
tagsnone
featuresnone
meaning (none stated)

Answer groups

verdict split

go-yaml libfyaml yaml.v3

refuse by the parser

perlref yamlstar

accept

value

yamlstar

"   l\n|"

roundtrip

No source answered.

Each parser

parserverdictvalueround tripreasonmessage
perlref accepted, explained accept n/i n/i lone-cr-in-block-scalar: the parser takes a line at column 0 into a top-level block scalar when the lines end in lone CRs, where that line ends the scalar: ">-\r .\r5" is accepted with the value " .\n5", and the same document with LF breaks is rejected
libfyaml rejected, invalid refuse by the parser not scored n/i stdin:6:1: error: missing document start
yamlstar accepted, explained accept not scored n/i lone-cr-in-block-scalar: the reference parser takes a line at column 0 into a top-level block scalar when the lines end in lone CRs, where that line ends the scalar: ">-\r .\r5" is accepted with the value " .\n5", and the same document with LF breaks is rejected
yaml.v3 rejected, invalid refuse by the parser not scored refused yaml.v3: yaml: found incompatible YAML document
go-yaml rejected, invalid refuse by the parser not scored refused [5:1] a document holds one root node, and this stands past it

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