--- &test-4QFQ
Title: Spec Example 8.2. Block Indentation Indicator [1.3]
Tags: [ 1.3-mod, folded, libyaml-err, literal, scalar, spec, whitespace ]
- |
detected
- >
# detected
- |1
explicit
- >
detected
+STR
+DOC
+SEQ
=VAL |detected\n
=VAL >\n\n# detected\n
=VAL | explicit\n
=VAL >detected\n
-SEQ
-DOC
-STR
[
"detected\n",
"\n\n# detected\n",
" explicit\n",
"detected\n"
]
json_diff
[
"detected\n",
"\n \n # detected\n",
" explicit\n",
"detected\n"
]
error
YAML::Tiny found bad indenting in line '- |1' at /yaml/bin/perl-tiny-json line 12.
error
YAML::Tiny found bad indenting in line '- |1' at /yaml/bin/perl-tiny-perl line 15.
error
Couldn't parse YAML
in sub load-yamls at /raku/sources/44795C7AB0F35700F4CA9C3E2CC5C924EE4C608F (YAMLish) line 959
in block <unit> at /yaml/bin/raku-yamlish-json line 6
error
Couldn't parse YAML
in sub load-yamls at /raku/sources/44795C7AB0F35700F4CA9C3E2CC5C924EE4C608F (YAMLish) line 959
in block <unit> at /yaml/bin/raku-yamlish-raku line 6
na
Line Col Char Byte Token|Content
1 0 0 0 +DOC |
1 0 0 0 +NODE|
1 0 0 0 +SEQ |
1 0 0 0 =SYNX|-
1 1 1 1 +NODE|
1 1 1 1 =WSPC|.
1 2 2 2 +VAL |
1 2 2 2 =SYNX||
1 3 3 3 =EOL |\x0a
2 0 4 4 =DENT|.
2 1 5 5 =TEXT|detected
2 9 13 13 =NEWL|\x0a
3 0 14 14 -VAL |
3 0 14 14 -NODE|
3 0 14 14 =SYNX|-
3 1 15 15 +NODE|
3 1 15 15 =WSPC|.
3 2 16 16 +VAL |
3 2 16 16 =SYNX|>
3 3 17 17 =EOL |\x0a
4 0 18 18 =DENT|.
4 1 19 19 =NEWL|\x0a
5 0 20 20 =DENT|.
5 1 21 21 =TEXT|.
5 2 22 22 =NEWL|\x0a
6 0 23 23 =DENT|.
6 1 24 24 =TEXT|.#.detected
6 12 35 35 =NEWL|\x0a
7 0 36 36 -VAL |
7 0 36 36 -NODE|
7 0 36 36 =SYNX|-
7 1 37 37 +NODE|
7 1 37 37 =WSPC|.
7 2 38 38 +VAL |
7 2 38 38 =SYNX||
7 3 39 39 =SYNX|1
7 4 40 40 =EOL |\x0a
8 0 41 41 =DENT|.
8 1 42 42 =TEXT|.explicit
8 10 51 51 =NEWL|\x0a
9 0 52 52 -VAL |
9 0 52 52 -NODE|
9 0 52 52 =SYNX|-
9 1 53 53 +NODE|
9 1 53 53 =WSPC|.
9 2 54 54 +VAL |
9 2 54 54 =SYNX|>
9 3 55 55 =EOL |\x0a
10 0 56 56 =DENT|.
10 1 57 57 =TEXT|detected
10 9 65 65 =NEWL|\x0a
11 0 66 66 -VAL |
11 0 66 66 -NODE|
11 0 66 66 -SEQ |
11 0 66 66 -NODE|
11 0 66 66 -DOC |
na
[
'detected
',
'
# detected
',
' explicit
',
'detected
'
]
na
[
'detected
',
'
# detected
',
' explicit
',
'detected
'
]
na
[
'detected
',
'
# detected
',
' explicit
',
'detected
'
]
na
[
'detected
',
'
# detected
',
' explicit
',
'detected
'
]
na
[
'detected
',
'
# detected
',
' explicit
',
'detected
'
]
na
['detected\n', '\n\n# detected\n', ' explicit\n', 'detected\n']
na
['detected\n', '\n\n# detected\n', ' explicit\n', 'detected\n']