From 3253c665d609012c164e4fad1642b744688aebf1 Mon Sep 17 00:00:00 2001 From: Tony Garnock-Jones Date: Tue, 17 Oct 2023 02:18:52 +0200 Subject: [PATCH] Fix specification of binchar --- _includes/cheatsheet-text.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_includes/cheatsheet-text.md b/_includes/cheatsheet-text.md index f206a39..7296648 100644 --- a/_includes/cheatsheet-text.md +++ b/_includes/cheatsheet-text.md @@ -29,8 +29,9 @@ {:.postcard-grammar.textsyntax} | *escaped* | := | `\\`|`\/`|`\b`|`\f`|`\n`|`\r`|`\t`|`\u`*hex* *hex* *hex* *hex* | -| *binchar* | := | *binunescaped* | (*escaped* |`\"`|`\x`*hex* *hex*) | -| *binunescaped* | := | « any unicode scalar value ≥32 and ≤126, except `\` or `"` » | +| *binescaped* | := | `\\`|`\/`|`\b`|`\f`|`\n`|`\r`|`\t`|`\x`*hex* *hex* | +| *binchar* | := | *binraw* | *binescaped* |`\"` | +| *binraw* | := | « any unicode scalar value ≥32 and ≤126, except `\` or `"` » | | *base64char* | := | `A`..`Z`|`a`..`z`|`0`..`9`|`+`|`/`|`-`|`_`|`=` | | *sympunct* | := | `~`|`!`|`$`|`%`|`^`|`&`|`*`|`?`|`_`|`=`|`+`|`-`|`/`|`.` | | *symuchar* | := | « any scalar value ≥128 whose Unicode category is Lu, Ll, Lt, Lm, Lo, Mn, Mc, Me, Nd, Nl, No, Pc, Pd, Po, Sc, Sm, Sk, So, or Co » |