2012/3/19 Chris Watkins <chriswaterguy@appropedia.org>


I've been playing around with this idea, but I can't see why (.*$) would match an empty part.
It does, because '*' means zero or more occurances.
>>> import re
>>> re.search('ku.*$', 'ku')
<_sre.SRE_Match object at 0x0000000002ED6510>
That means it matched.
Anyway, that was only the first idea, I am not sure that is the concrete source of problem in your case.


--
Bináris