Added support for EUR in pokerstars hand history parser
This commit is contained in:
parent
152dfa8f62
commit
b611e23e5d
|
@ -140,7 +140,7 @@ class PokerStars(HandHistoryConverter):
|
||||||
|
|
||||||
# These used to be compiled per player, but regression tests say
|
# These used to be compiled per player, but regression tests say
|
||||||
# we don't have to, and it makes life faster.
|
# we don't have to, and it makes life faster.
|
||||||
short_subst = {'PLYR': r'(?P<PNAME>.+?)', 'CUR': '\$?'}
|
short_subst = {'PLYR': r'(?P<PNAME>.+?)', 'CUR': '(\$|\xe2\x82\xac)?'}
|
||||||
re_PostSB = re.compile(r"^%(PLYR)s: posts small blind %(CUR)s(?P<SB>[.0-9]+)" % short_subst, re.MULTILINE)
|
re_PostSB = re.compile(r"^%(PLYR)s: posts small blind %(CUR)s(?P<SB>[.0-9]+)" % short_subst, re.MULTILINE)
|
||||||
re_PostBB = re.compile(r"^%(PLYR)s: posts big blind %(CUR)s(?P<BB>[.0-9]+)" % short_subst, re.MULTILINE)
|
re_PostBB = re.compile(r"^%(PLYR)s: posts big blind %(CUR)s(?P<BB>[.0-9]+)" % short_subst, re.MULTILINE)
|
||||||
re_Antes = re.compile(r"^%(PLYR)s: posts the ante %(CUR)s(?P<ANTE>[.0-9]+)" % short_subst, re.MULTILINE)
|
re_Antes = re.compile(r"^%(PLYR)s: posts the ante %(CUR)s(?P<ANTE>[.0-9]+)" % short_subst, re.MULTILINE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user