Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider handling old SGF with lowercase "long properties" #68

Closed
rooklift opened this issue Apr 20, 2016 · 1 comment
Closed

Consider handling old SGF with lowercase "long properties" #68

rooklift opened this issue Apr 20, 2016 · 1 comment

Comments

@rooklift
Copy link
Contributor

Very old SGF files sometimes have lowercase letters in the property names which should be discarded, e.g. one might see:

(;GaMe[1]SiZe[9]PlayerBlack[Miyamoto Naoki]PlayerWhite[Go Seigen]DaTe[1968]REsult[B+4];Black[de];White[fe])

By discarding all the lowercase letters in the property names we can get the Right Thing.

For some real world examples see:

Currently Sabaki doesn't handle these.

@yishn
Copy link
Member

yishn commented Apr 21, 2016

Shouldn't be a problem, this seems to be compatible with the official SGF specification.

@yishn yishn closed this as completed in d114fa6 Apr 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants