gdritter repos telml / 2dc5610
Added parens to regex in formal grammar Getty Ritter 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Collapse all Expand all
5353 <document> ::= <fragment>*
5454 <fragment> ::= <tag> | <text> | "{" <document> "}"
5555
56 <text> ::= /[^\]|[\][\{}|]*/
56 <text> ::= /([^\]|[\][\{}|])*/
5757
5858 <tag> ::= "\" <tagname> <spaces> "{" <arglist> "}"
5959 <tagname> ::= /[A-Za-z][A-Za-z0-9_-]*/