Stars: Fix AAMS portion of GameInfo regex.

Somewhere along the line I removed the ? making it optional.
This commit is contained in:
Worros 2010-11-16 12:50:36 +08:00
parent 41da3e6f65
commit 55aa2df1de

View File

@ -100,7 +100,7 @@ class PokerStars(HandHistoryConverter):
(?P<BLAH>\s-\s[%(LS)s\d\.]+\sCap\s-\s)? # Optional Cap part (?P<BLAH>\s-\s[%(LS)s\d\.]+\sCap\s-\s)? # Optional Cap part
\s?(?P<ISO>%(LEGAL_ISO)s)? \s?(?P<ISO>%(LEGAL_ISO)s)?
\) # close paren of the stakes \) # close paren of the stakes
(?P<BLAH2>\s\[AAMS\sID:\s[A-Z0-9]+\]) # AAMS ID: in .it HH's (?P<BLAH2>\s\[AAMS\sID:\s[A-Z0-9]+\])? # AAMS ID: in .it HH's
\s-\s \s-\s
(?P<DATETIME>.*$) (?P<DATETIME>.*$)
""" % substitutions, re.MULTILINE|re.VERBOSE) """ % substitutions, re.MULTILINE|re.VERBOSE)