From e75b910c5d5dc617a9df720e3e6825f07d6f3090 Mon Sep 17 00:00:00 2001 From: stzn Date: Thu, 23 Jun 2022 04:32:21 +0900 Subject: [PATCH 1/2] Add escaping characters before | --- .../AsyncSequenceValidation.docc/Validation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/AsyncSequenceValidation/AsyncSequenceValidation.docc/Validation.md b/Sources/AsyncSequenceValidation/AsyncSequenceValidation.docc/Validation.md index 7851b338..6596cb1f 100644 --- a/Sources/AsyncSequenceValidation/AsyncSequenceValidation.docc/Validation.md +++ b/Sources/AsyncSequenceValidation/AsyncSequenceValidation.docc/Validation.md @@ -41,7 +41,7 @@ The syntax is trivially parsable (and consequently customizable). By default, th | Symbol | Description | Example | | ------- | ----------------- | ---------- | | `-` | Advance time | `"a--b--"` | -| `|` | Termination | `"ab-|"` | +| `\|` | Termination | `"ab-\|"` | | `^` | Thrown error | `"ab-^"` | | `;` | Cancellation | `"ab;-"` | | `[` | Begin group | `"[ab]-"` | From acbb0527f33b6ff3223d6e1311de8548df8692c8 Mon Sep 17 00:00:00 2001 From: stzn Date: Tue, 28 Jun 2022 04:26:53 +0900 Subject: [PATCH 2/2] Add more escaping characters before | --- .../AsyncSequenceValidation.docc/Validation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/AsyncSequenceValidation/AsyncSequenceValidation.docc/Validation.md b/Sources/AsyncSequenceValidation/AsyncSequenceValidation.docc/Validation.md index 6596cb1f..47cc7e21 100644 --- a/Sources/AsyncSequenceValidation/AsyncSequenceValidation.docc/Validation.md +++ b/Sources/AsyncSequenceValidation/AsyncSequenceValidation.docc/Validation.md @@ -218,15 +218,15 @@ Access to the validation diagram input list is done through calls such as `$0.in | Symbol | Token | Description | Example | | ------- | ------------------------- | ----------------- | ---------- | | `-` | `.step` | Advance time | `"a--b--"` | -| `|` | `.finish` | Termination | `"ab-|"` | +| `\|` | `.finish` | Termination | `"ab-\|"` | | `^` | `.error` | Thrown error | `"ab-^"` | | `;` | `.cancel` | Cancellation | `"ab;-"` | | `[` | `.beginGroup` | Begin group | `"[ab]-"` | | `]` | `.endGroup` | End group | `"[ab]-"` | | `'` | `.beginValue` `.endValue` | Begin/End Value | `"'foo'-"` | | `,` | `.delayNext` | Delay next | `",[a,]b"` | -| ` ` | `.skip` | Skip/Ignore | `"a b- |"` | -| | `.value` | Values. | `"ab-|"` | +| ` ` | `.skip` | Skip/Ignore | `"a b- \|"` | +| | `.value` | Values. | `"ab-\|"` | There are some diagram input specifications that are not valid. The three cases are: