Fix specification of binchar

This commit is contained in:
Tony Garnock-Jones 2023-10-17 02:18:52 +02:00
parent a123630bb5
commit 3253c665d6
1 changed files with 3 additions and 2 deletions

View File

@ -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 » |