We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e905117 + b251e10 commit 35fe739Copy full SHA for 35fe739
1 file changed
cchess/engine.py
@@ -1769,7 +1769,7 @@ async def quit(self) -> None:
1769
await asyncio.shield(self.returncode)
1770
1771
1772
-UCI_REGEX = re.compile(r"^[a-h][1-8][a-h][1-8][pnbrqk]?|[PNBRQK]@[a-h][1-8]|0000\Z")
+UCI_REGEX = re.compile(r"^[a-i][0-9][a-i][0-9][pnbrack]?|[PNBRACK]@[a-i][0-9]|0000\Z")
1773
1774
def _create_variation_line(root_board: cchess.Board, line: str) -> tuple[list[cchess.Move], str]:
1775
board = root_board.copy(stack=False)
0 commit comments