[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 9x9 and 13x13 download - NEW URL
Darren Cook writes:
> While sorting them out I started getting some strange results. I eventually
> tracked it to square brackets being used inside comments, which meant my
> program missed the bracket that closed the comment and about 300 games went
> missing (a rather big comment!).
>
> The demon smiley: :-[
>
> I think [ and ] should be preceded by a \ character in a comment.
Yes, thay have. There must be some error on the server not adding the
backslash character to the sgf-files.
> I also had to allow for people writing "[something]" in their comments,
> though that is relatively easy by incrementing a counter if a [, and
> decrementing if a ], and not leaving the comment until the counter is back at 0.
Don't expect people to write comments like that. What happens with
comments with only the left bracket present?
/Nicklas