Skip to content

Commit 35fe739

Browse files
Merge pull request #11 from gameisfunny2025/patch-1
2 parents e905117 + b251e10 commit 35fe739

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cchess/engine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1769,7 +1769,7 @@ async def quit(self) -> None:
17691769
await asyncio.shield(self.returncode)
17701770

17711771

1772-
UCI_REGEX = re.compile(r"^[a-h][1-8][a-h][1-8][pnbrqk]?|[PNBRQK]@[a-h][1-8]|0000\Z")
1772+
UCI_REGEX = re.compile(r"^[a-i][0-9][a-i][0-9][pnbrack]?|[PNBRACK]@[a-i][0-9]|0000\Z")
17731773

17741774
def _create_variation_line(root_board: cchess.Board, line: str) -> tuple[list[cchess.Move], str]:
17751775
board = root_board.copy(stack=False)

0 commit comments

Comments
 (0)