From af19c3f365fbc90c4424ed5935a6485aa57fe024 Mon Sep 17 00:00:00 2001 From: Ray Date: Mon, 20 Jul 2009 14:27:03 -0400 Subject: [PATCH] Fix a bug in the Action regex. Thanks Carl. --- pyfpdb/FulltiltToFpdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfpdb/FulltiltToFpdb.py b/pyfpdb/FulltiltToFpdb.py index a9c599e7..3c95df2f 100755 --- a/pyfpdb/FulltiltToFpdb.py +++ b/pyfpdb/FulltiltToFpdb.py @@ -79,7 +79,7 @@ follow : whether to tail -f the input""" self.re_BringIn = re.compile(r"^%s brings in for \$?(?P[.0-9]+)" % player_re, re.MULTILINE) self.re_PostBoth = re.compile(r"^%s posts small \& big blinds \[\$? (?P[.0-9]+)" % player_re, re.MULTILINE) self.re_HeroCards = re.compile(r"^Dealt to %s(?: \[(?P.+?)\])?( \[(?P.+?)\])" % player_re, re.MULTILINE) - self.re_Action = re.compile(r"^%s(?P bets| checks| raises to| completes it to| calls| folds)(\s\$?(?P[.,\d]+))?" % player_re, re.MULTILINE) + self.re_Action = re.compile(r"^%s(?P bets| checks| raises to| completes it to| calls| folds)( \$?(?P[.,\d]+))?" % player_re, re.MULTILINE) self.re_ShowdownAction = re.compile(r"^%s shows \[(?P.*)\]" % player_re, re.MULTILINE) self.re_CollectPot = re.compile(r"^Seat (?P[0-9]+): %s (\(button\) |\(small blind\) |\(big blind\) )?(collected|showed \[.*\] and won) \(\$(?P[.\d]+)\)(, mucked| with.*)" % player_re, re.MULTILINE) self.re_SitsOut = re.compile(r"^%s sits out" % player_re, re.MULTILINE)