Skip to content
This repository has been archived by the owner on Jan 25, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants