Added parens to regex in formal grammar
Getty Ritter
9 years ago
53 | 53 |
<document> ::= <fragment>*
|
54 | 54 |
<fragment> ::= <tag> | <text> | "{" <document> "}"
|
55 | 55 |
|
56 | |
<text> ::= /[^\]|[\][\{}|]*/
|
| 56 |
<text> ::= /([^\]|[\][\{}|])*/
|
57 | 57 |
|
58 | 58 |
<tag> ::= "\" <tagname> <spaces> "{" <arglist> "}"
|
59 | 59 |
<tagname> ::= /[A-Za-z][A-Za-z0-9_-]*/
|