Please answer the following questions before submitting your issue. Thanks!
Grammar ::= Production+
Production ::= NonTerminal "::=" Choice
Choice ::= Seq ('|' Seq)*
Seq ::= Item+
Item ::= Primary ('*' | '+' | '?')?
Primary ::= Terminal | NonTerminal | '(' Choice ')'
Terminal ::= '"' '[^"]'* '"' | "'" "[^']"* "'"
NonTerminal ::= '[0-9a-zA-Z_]'+
Change Request
Please answer the following questions before submitting your issue. Thanks!
Recently we support rendering EBNF code directly as SVG (sample: https://docs.pingcap.com/tidb/stable/sql-statement-backup), and thus no longer needs to use PNG images for the sqlgrams (see #4342 for details). We should upgrade the remaining docs to use the new feature.
Change the following pages to use
```ebnf+diagram:You can use https://kennytm.github.io/website-docs/dist/ to preview the rendered result.
Supported grammar: