generated/1967/substitute an indicator/6

sha256 e45868925776949e7d39f0b4f81ad95920be9f32c02557a64ac66cce7a0bc4e7

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\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: invalid mapping in plain multiline
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 [6: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.