Re: Grammars are not Regexps

   comment: "(*", body, "*)".
 -body: (~[")"];~["*"],")")*. 


which I think wins the prize.


and can be put in words as "A comment can only contain a closing bracket if 
that bracket is not preceded by an asterisk.


Steven

Received on Monday, 7 February 2022 13:33:28 UTC