Modified formal grammar to account for non-tag curly braces
Getty Ritter
9 years ago
51 | 51 |
|
52 | 52 |
~~~~
|
53 | 53 |
<document> ::= <fragment>*
|
54 | |
<fragment> ::= <tag> | <text>
|
| 54 |
<fragment> ::= <tag> | <text> | "{" <document> "}"
|
55 | 55 |
|
56 | 56 |
<text> ::= /[^\]|\\[\{}|]*/
|
57 | 57 |
|