FTPSummary: First pass at EUR summary.
Failing test now passes.
This commit is contained in:
parent
8f9552e778
commit
dccc61013b
|
@ -60,9 +60,9 @@ class FullTiltPokerSummary(TourneySummary):
|
||||||
(?P<TYPE>Tournament|Sit\s\&\sGo|\(Rebuy\)|)\s\((?P<TOURNO>[0-9]+)\)(\s+)?
|
(?P<TYPE>Tournament|Sit\s\&\sGo|\(Rebuy\)|)\s\((?P<TOURNO>[0-9]+)\)(\s+)?
|
||||||
(?P<GAME>Hold\'em|Razz|RAZZ|7\sCard\sStud|7\sCard\sStud\sHi/Lo|Omaha|Omaha\sHi|Omaha\sHi/Lo|Badugi|Triple\sDraw\s2\-7\sLowball|5\sCard\sDraw)\s+
|
(?P<GAME>Hold\'em|Razz|RAZZ|7\sCard\sStud|7\sCard\sStud\sHi/Lo|Omaha|Omaha\sHi|Omaha\sHi/Lo|Badugi|Triple\sDraw\s2\-7\sLowball|5\sCard\sDraw)\s+
|
||||||
(?P<LIMIT>No\sLimit|Limit|LIMIT|Pot\sLimit)\s+
|
(?P<LIMIT>No\sLimit|Limit|LIMIT|Pot\sLimit)\s+
|
||||||
(Buy-In:\s\$(?P<BUYIN>[.\d]+)(\s\+\s\$(?P<FEE>[.\d]+))?\s+)?
|
(Buy-In:\s[%(LS)s](?P<BUYIN>[.\d]+)(\s\+\s[%(LS)s](?P<FEE>[.\d]+))?\s+)?
|
||||||
(Add-On:\s\$(?P<ADDON>[.\d]+)\s+)?
|
(Add-On:\s[%(LS)s](?P<ADDON>[.\d]+)\s+)?
|
||||||
(Rebuy:\s\$(?P<REBUYAMT>[.\d]+)\s+)?
|
(Rebuy:\s[%(LS)s](?P<REBUYAMT>[.\d]+)\s+)?
|
||||||
((?P<PNAME>.{2,15})\sperformed\s(?P<PREBUYS>\d+)\sRebuys\s+)?
|
((?P<PNAME>.{2,15})\sperformed\s(?P<PREBUYS>\d+)\sRebuys\s+)?
|
||||||
(Buy-In\sChips:\s(?P<CHIPS>\d+)\s+)?
|
(Buy-In\sChips:\s(?P<CHIPS>\d+)\s+)?
|
||||||
(Add-On\sChips:\s(?P<ADDONCHIPS>\d+)\s+)?
|
(Add-On\sChips:\s(?P<ADDONCHIPS>\d+)\s+)?
|
||||||
|
@ -70,8 +70,8 @@ class FullTiltPokerSummary(TourneySummary):
|
||||||
(?P<ENTRIES>[0-9]+)\sEntries\s+
|
(?P<ENTRIES>[0-9]+)\sEntries\s+
|
||||||
(Total\sAdd-Ons:\s(?P<ADDONS>\d+)\s+)?
|
(Total\sAdd-Ons:\s(?P<ADDONS>\d+)\s+)?
|
||||||
(Total\sRebuys:\s(?P<REBUYS>\d+)\s+)?
|
(Total\sRebuys:\s(?P<REBUYS>\d+)\s+)?
|
||||||
(\$?(?P<ADDED>[.\d]+)\sadded\sto\sthe\sprize\spool\sby\sPokerStars\.com\s+)?
|
([%(LS)s]?(?P<ADDED>[.\d]+)\sadded\sto\sthe\sprize\spool\sby\sPokerStars\.com\s+)?
|
||||||
(Total\sPrize\sPool:\s\$?(?P<PRIZEPOOL>[%(NUM)s]+)\s+)?
|
(Total\sPrize\sPool:\s[%(LS)s]?(?P<PRIZEPOOL>[%(NUM)s]+)\s+)?
|
||||||
(Target\sTournament\s.*)?
|
(Target\sTournament\s.*)?
|
||||||
Tournament\sstarted:\s
|
Tournament\sstarted:\s
|
||||||
(?P<Y>[\d]{4})\/(?P<M>[\d]{2})\/(?P<D>[\d]+)\s+(?P<H>[\d]+):(?P<MIN>[\d]+):(?P<S>[\d]+)\s??(?P<TZ>[A-Z]+)\s
|
(?P<Y>[\d]{4})\/(?P<M>[\d]{2})\/(?P<D>[\d]+)\s+(?P<H>[\d]+):(?P<MIN>[\d]+):(?P<S>[\d]+)\s??(?P<TZ>[A-Z]+)\s
|
||||||
|
@ -79,7 +79,7 @@ class FullTiltPokerSummary(TourneySummary):
|
||||||
|
|
||||||
re_Currency = re.compile(u"""(?P<CURRENCY>[%(LS)s]|FPP)""" % substitutions)
|
re_Currency = re.compile(u"""(?P<CURRENCY>[%(LS)s]|FPP)""" % substitutions)
|
||||||
|
|
||||||
re_Player = re.compile(u"""(?P<RANK>[\d]+):\s(?P<NAME>[^,\r\n]{2,15})(,(\s)?\$(?P<WINNINGS>[.\d]+))?""")
|
re_Player = re.compile(u"""(?P<RANK>[\d]+):\s(?P<NAME>[^,\r\n]{2,15})(,(\s)?[%(LS)s](?P<WINNINGS>[.\d]+))?""")
|
||||||
|
|
||||||
re_DateTime = re.compile("\[(?P<Y>[0-9]{4})\/(?P<M>[0-9]{2})\/(?P<D>[0-9]{2})[\- ]+(?P<H>[0-9]+):(?P<MIN>[0-9]+):(?P<S>[0-9]+)")
|
re_DateTime = re.compile("\[(?P<Y>[0-9]{4})\/(?P<M>[0-9]{2})\/(?P<D>[0-9]{2})[\- ]+(?P<H>[0-9]+):(?P<MIN>[0-9]+):(?P<S>[0-9]+)")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user