Yes, all of you are right. Thank you all for your answers - I'll use a
regex.
--
http://mail.python.org/mailman/listinfo/python-list
alexk wrote:
I've a simple question. Why the following:
words = "[EMAIL PROTECTED]@^%[wordA] [EMAIL PROTECTED]".split('[EMAIL
PROTECTED]&*()_+-=[]{},./')
doesn't work? The length of the result vector is 1.
I'm using ActivePython 2.4
Alex
Do you mean, why doesn't it split on every character in '[EM
On 2005-04-28, alexk <[EMAIL PROTECTED]> wrote:
> I've a simple question. Why the following:
>
> words = "[EMAIL PROTECTED]@^%[wordA] [EMAIL PROTECTED]".split('[EMAIL
> PROTECTED]&*()_+-=[]{},./')
>
> doesn't work?
But it does work. Your input string (the one on the left) does
not contain the de