From 5a30d793c7ff4e04c20c4f3e54674562b1205d8a Mon Sep 17 00:00:00 2001 From: Worros Date: Mon, 24 Jan 2011 14:13:03 +0800 Subject: [PATCH] FTP: Update re_HandInfo After last patch the regex was greedy when including space. Fixes 7 issues noted by THP --- pyfpdb/FulltiltToFpdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyfpdb/FulltiltToFpdb.py b/pyfpdb/FulltiltToFpdb.py index 11323939..348338ba 100755 --- a/pyfpdb/FulltiltToFpdb.py +++ b/pyfpdb/FulltiltToFpdb.py @@ -81,8 +81,8 @@ class Fulltilt(HandHistoryConverter): (?:(?P.+)\s\((?P\d+)\),\s)? ((Table|Match)\s)? (?PPlay\sChip\s|PC)? - (?P[%(TAB)s]+\s?) - (?P,\sEntry\s\#\d+\s)? + ((?P
[%(TAB)s]+)(\s|,)) + (?P\sEntry\s\#\d+\s)? (\((?P.+)\)\s)?-\s [%(LS)s]?(?P[%(NUM)s]+)/[%(LS)s]?(?P[%(NUM)s]+)\s(Ante\s[%(LS)s]?(?P[.0-9]+)\s)?-\s [%(LS)s]?(?P[.0-9]+\sCap\s)?