generated/2221/substitute an indicator/2

sha256 f06c7cb60bc591f11b8466ae00ad3e088a5718a79b40f4f74d26cb019eefa8b6

Document

%YAML 1.1
---
|-
    'a

@

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

"    'a\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: plain scalar cannot start with '@'
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: line 6: found character that cannot start any token
go-yaml rejected, invalid refuse by the parser not scored refused [6:1] '@' is a reserved character

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