2012/3/19 Chris Watkins <[email protected]>

>
>
> 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
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l

Reply via email to