Andrew Dalke wrote: > Not to prolong this, but if you are dealing with camelCase: > word_pat = re.compile('[' + string.letters + ']{4,}') you might want to use: word_pat = re.compile('[' + string.letters + '][' + string.lowercase + ']{3,}') -Scott David Daniels Scott.Daniels at Acm.Org