diff --git a/pyfpdb/Win2dayToFpdb.py b/pyfpdb/Win2dayToFpdb.py index d3d587c0..4ee21aee 100755 --- a/pyfpdb/Win2dayToFpdb.py +++ b/pyfpdb/Win2dayToFpdb.py @@ -35,10 +35,16 @@ class Win2day(HandHistoryConverter): siteID = 4 # Static regexes - # - - #'^$' - re_GameInfo = re.compile('', re.MULTILINE) + re_GameInfo = re.compile("""[0-9]+)"\sSESSION="session[0-9]+\.xml"\s + TABLE="(?P[-\sa-zA-Z0-9\xc0-\xfc/.]+)"\s + GAME="(?P[_A-Z]+)"\sGAMETYPE="[_a-zA-Z]+"\sGAMEKIND="[_a-zA-Z]+"\s + TABLECURRENCY="(?P[A-Z]+)"\s + LIMIT="(?PNL|PL)"\s + STAKES="(?P[.0-9]+)/(?P[.0-9]+)"\s + DATE="(?P[0-9]+)"\s + (TABLETOURNEYID=""\s)? + WIN="[.0-9]+"\sLOSS="[.0-9]+" + """, re.MULTILINE| re.VERBOSE) re_SplitHands = re.compile('') re_HandInfo = re.compile("^Table \'(?P
[- a-zA-Z]+)\'(?P.+?$)?", re.MULTILINE) re_Button = re.compile('\n\n\n