Skip to content

Commit 9f8eb4d

Browse files
committed
Modernize pokerstars format
1 parent f616d4d commit 9f8eb4d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎docs/conf.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
project = 'PokerKit'
1515
copyright = '2023-2025, Universal, Open, Free, and Transparent Computer Poker Research Group'
1616
author = 'Universal, Open, Free, and Transparent Computer Poker Research Group'
17-
release = '0.7.0'
17+
release = '0.7.1'
1818

1919
# -- General configuration ---------------------------------------------------
2020
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

‎pokerkit/notation.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2462,7 +2462,7 @@ def _get_completion_betting_or_raising_to_amount(
24622462
class PokerStarsParser(REParser):
24632463
"""A class for PokerStars hand history parser."""
24642464

2465-
HAND = compile(r'^PokerStars .+?(?=^\n{2,})', DOTALL | MULTILINE)
2465+
HAND = compile(r'^PokerStars .+?(?=^\n{2,}|^Hand #|\Z)', DOTALL | MULTILINE)
24662466
FINAL_SEAT = compile(r'#(?P<final_seat>\d+) is the button')
24672467
VARIANT = compile(r": (?P<variant>Hold'em No Limit) \(")
24682468
VARIANTS = {'Hold\'em No Limit': 'NT'}

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='pokerkit',
7-
version='0.7.0',
7+
version='0.7.1',
88
description=(
99
'An open-source Python library for poker game simulations, hand'
1010
' evaluations, and statistical analysis'

0 commit comments

Comments
 (0)