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

Scanner: fix parsing of PGNs w/ starting position #128

Merged
merged 1 commit into from
Nov 24, 2024

Conversation

mikeb26
Copy link
Contributor

@mikeb26 mikeb26 commented May 29, 2023

PGNs can encode games starting from a specific position rather than the normal starting position. Currently, Scanner will not parse these correctly because it matches move lists only on lines beginning with "1. ". This commit fixes this.

PGNs can encode games starting from a specific position rather than
the normal starting position. Currently, Scanner will not parse these
correctly because it matches move lists only on lines beginning with
"1. ". This commit fixes this.
@notnil
Copy link
Owner

notnil commented Nov 24, 2024

Thanks for the patch. Sorry for being so late to get to it!

@notnil notnil merged commit 48213c4 into notnil:master Nov 24, 2024
@mikeb26 mikeb26 deleted the fromPosition branch November 26, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants