Skip to content

Commit 2a211e1

Browse files
authored
Fix typo in Validation.md (#172)
* Add escaping characters before | * Add more escaping characters before |
1 parent 9baff2a commit 2a211e1

File tree

1 file changed

+4
-4
lines changed
  • Sources/AsyncSequenceValidation/AsyncSequenceValidation.docc

1 file changed

+4
-4
lines changed

Sources/AsyncSequenceValidation/AsyncSequenceValidation.docc/Validation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The syntax is trivially parsable (and consequently customizable). By default, th
4141
| Symbol | Description | Example |
4242
| ------- | ----------------- | ---------- |
4343
| `-` | Advance time | `"a--b--"` |
44-
| `|` | Termination | `"ab-|"` |
44+
| `\|` | Termination | `"ab-\|"` |
4545
| `^` | Thrown error | `"ab-^"` |
4646
| `;` | Cancellation | `"ab;-"` |
4747
| `[` | Begin group | `"[ab]-"` |
@@ -218,15 +218,15 @@ Access to the validation diagram input list is done through calls such as `$0.in
218218
| Symbol | Token | Description | Example |
219219
| ------- | ------------------------- | ----------------- | ---------- |
220220
| `-` | `.step` | Advance time | `"a--b--"` |
221-
| `|` | `.finish` | Termination | `"ab-|"` |
221+
| `\|` | `.finish` | Termination | `"ab-\|"` |
222222
| `^` | `.error` | Thrown error | `"ab-^"` |
223223
| `;` | `.cancel` | Cancellation | `"ab;-"` |
224224
| `[` | `.beginGroup` | Begin group | `"[ab]-"` |
225225
| `]` | `.endGroup` | End group | `"[ab]-"` |
226226
| `'` | `.beginValue` `.endValue` | Begin/End Value | `"'foo'-"` |
227227
| `,` | `.delayNext` | Delay next | `",[a,]b"` |
228-
| ` ` | `.skip` | Skip/Ignore | `"a b- |"` |
229-
| | `.value` | Values. | `"ab-|"` |
228+
| ` ` | `.skip` | Skip/Ignore | `"a b- \|"` |
229+
| | `.value` | Values. | `"ab-\|"` |
230230

231231
There are some diagram input specifications that are not valid. The three cases are:
232232

0 commit comments

Comments
 (0)