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

Comments #76

Merged
merged 5 commits into from
Aug 12, 2021
Merged

Comments #76

merged 5 commits into from
Aug 12, 2021

Conversation

notnil
Copy link
Owner

@notnil notnil commented Jul 30, 2021

This PR adds comments support (needed for parsing the Lichess Database eval values https://database.lichess.org). It also refactors the PGN tests a bit.

@notnil notnil merged commit a05cf7a into master Aug 12, 2021
@notnil notnil deleted the comments branch August 12, 2021 15:16
@notnil notnil mentioned this pull request Aug 12, 2021
sumnerevans added a commit to sumnerevans/chess that referenced this pull request Dec 12, 2021
There were two main bugs that this fixes.

* Fixes notnil#77: fixed parsing of PGNs where there is no space after the
  move number indicator. This used to work, but notnil#76 caused a regression.

* Fixes notnil#78: using the regular expression allows for comments that don't
  have spaces separating the `{` and `}` tokens.
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.

1 participant