We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57d7689 commit e3ceb53Copy full SHA for e3ceb53
1 file changed
doc/gotchas.md
@@ -31,8 +31,7 @@ say: ('foo' * 3)
31
say: 3 * 'foo'
32
```
33
34
-Now the right-hand side is a plain scalar wThis is because YAML sees a single quoted scalar and text content is not allowed to
35
-follow the closing quote.hose value is `+'foo' * 3`.
+Now the right-hand side is a plain scalar whose value is `+'foo' * 3`.
36
YS will ignore the leading `+` and evaluate the expression as expected.
37
38
This `+` escaping character can be used anywhere that you need to use a plain
0 commit comments