From a4885243de209d87e00e2d26cfb8b271f7a9310b Mon Sep 17 00:00:00 2001 From: Worros Date: Sat, 13 Nov 2010 12:04:13 +0800 Subject: [PATCH] Stars: Fix re_GameInfo to parse AAMS section of .it hands MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only have the one example from a Tournament hand: PokerStars Game #52486342403: Tournament #324732603, €0.82+€0.18 EUR Hold'em No Limit - Level I (10/20) [AAMS ID: L284A006CB1E33ZO] - 2010/11/10 20:59:53 CET [2010/11/10 14:59:53 ET] Hopefully the same for cash games --- pyfpdb/PokerStarsToFpdb.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyfpdb/PokerStarsToFpdb.py b/pyfpdb/PokerStarsToFpdb.py index c86fc157..061a88fc 100644 --- a/pyfpdb/PokerStarsToFpdb.py +++ b/pyfpdb/PokerStarsToFpdb.py @@ -99,7 +99,9 @@ class PokerStars(HandHistoryConverter): (?P[.0-9]+) (?P\s-\s[%(LS)s\d\.]+\sCap\s-\s)? # Optional Cap part \s?(?P%(LEGAL_ISO)s)? - \)\s-\s # close paren of the stakes + \) # close paren of the stakes + (?P\s\[AAMS\sID:\s[A-Z0-9]+\]) # AAMS ID: in .it HH's + \s-\s (?P.*$) """ % substitutions, re.MULTILINE|re.VERBOSE)