Browse Source

Added support for EUR in pokerstars hand history parser

master
evilny0 13 years ago
parent
commit
b611e23e5d
  1. 2
      pyfpdb/PokerStarsToFpdb.py

2
pyfpdb/PokerStarsToFpdb.py

@ -140,7 +140,7 @@ class PokerStars(HandHistoryConverter):
# These used to be compiled per player, but regression tests say
# 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_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)

Loading…
Cancel
Save