Re: escaping parentheses in comments
- --- In sgf-std@y..., Arno Hollosi <ahollosi@x> wrote:
> > Does a ")" have to be escaped with a "\)". I want knwo if a ":)"
> > valid as part of a comment.I've noticed that Anders Kierulf's SmartGo always escapes ":". I
> The only mandatory characters to be escaped are "\" and "]".
> If you use composite datatypes then ":" has to be escaped as well.
> So ":)" is a valid part.
> However the spec allows escaping any other character as well.
> So C[\H\e\l\l\o\ \w\o\r\l\d\! \:\)] is valid SGF as well.
think that this is a good practice (and maybe should me made
manditory). Without doing this, future extension to datatypes is
possibly ambiguous. For example, the proposed FF change to CA -
changing from SimpleText to Composed.