"qwweeeit" <[EMAIL PROTECTED]> wrote:

> Splitting with RE has (for me!) misterious behaviour!
>
> I want to get the words from this string:
> s= 'This+(that)= a.string!!!'
>
> in a list like that ['This', 'that', 'a.string']
> considering "a.string" as a word.

print re.findall("[\w.]+", s)

</F> 



-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to