python-chess
python-chess copied to clipboard
Get parsed comments from pgn
I am now trying to create a Pyside6 widget which simulates the Analysis Board on lichess.
It's beginning to work but the comments displayed contain all the %csl %cal visual annotations (and others things like evals or clocks)
Since python-chess already contains the ARROWS_REGEX and other regexes, it would be nice if we could get the parsing done in this library to get the final comment to be displayed to the user.