2020-06-07 00:21:15 +02:00
|
|
|
---
|
|
|
|
type: scan
|
|
|
|
expect: BoltStringLiteral
|
|
|
|
split-lines: true
|
|
|
|
---
|
|
|
|
|
|
|
|
A string may hold arbirary ASCII characters, including spaces:
|
|
|
|
|
2020-06-13 19:30:14 +02:00
|
|
|
```
|
|
|
|
"Foo!"
|
|
|
|
"Once upon a time ..."
|
|
|
|
```
|
2020-06-07 00:21:15 +02:00
|
|
|
|
|
|
|
Special ASCII characters have no effect, other than that they are appended to
|
|
|
|
the contents of the string:
|
|
|
|
|
2020-06-13 19:30:14 +02:00
|
|
|
```
|
|
|
|
"S+me w3!rd @SCII ch@r$"
|
|
|
|
```
|
2020-06-07 00:21:15 +02:00
|
|
|
|
|
|
|
Some special escape sequences:
|
|
|
|
|
2020-06-13 19:30:14 +02:00
|
|
|
```
|
|
|
|
"\n\r"
|
|
|
|
"\n"
|
|
|
|
```
|