Stars: Make parser ignore Cap limit

Header looks like:

PokerStars Game #52129212872:  Hold'em No Limit ($0.25/$0.50 - $10 Cap -  USD) - 2010/11/03 23:45:32 CET [2010/11/03 18:45:32 ET]
This commit is contained in:
Worros 2010-11-04 18:31:14 +08:00
parent c79c4027c8
commit b3f9ae253f

View File

@ -97,10 +97,11 @@ class PokerStars(HandHistoryConverter):
(?P<CURRENCY>%(LS)s|)?
(?P<SB>[.0-9]+)/(%(LS)s)?
(?P<BB>[.0-9]+)
(?P<BLAH>\s-\s[%(LS)s\d\.]+\sCap\s-\s)? # Optional Cap part
\s?(?P<ISO>%(LEGAL_ISO)s)?
\)\s-\s # close paren of the stakes
(?P<DATETIME>.*$)""" % substitutions,
re.MULTILINE|re.VERBOSE)
(?P<DATETIME>.*$)
""" % substitutions, re.MULTILINE|re.VERBOSE)
re_PlayerInfo = re.compile(u"""
^Seat\s(?P<SEAT>[0-9]+):\s