This commit is contained in:
yhirose 2021-08-08 21:10:49 -04:00 committed by GitHub
parent 4760b3e137
commit 13c490cd64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -207,7 +207,7 @@ The following grammar is same as the above.
```cpp ```cpp
peg::parser parser(R"( peg::parser parser(R"(
ROOT <- ~_ ITEM (',' ~_ ITEM ~_)* ROOT <- ~_ ITEM (',' ~_ ITEM ~_)*
ITEM <- ([a-z])+ ITEM <- ([a-z0-9])+
_ <- [ \t]* _ <- [ \t]*
)"); )");
``` ```