need help of RE
Elliot Temple
curi at curi.us
Sun May 29 03:51:23 EDT 2005
On May 29, 2005, at 12:39 AM, cheng wrote:
> hi all
> a string like
>
> "(word1 & (Word2|woRd3))"
>
> how can i use the re to split it to
>
> ['word1', 'word2', 'word3']
Could you be more exact about what the string is like? Does it
literally contain the characters '&' and '|' ? If so, just split at
them.
-- Elliot Temple
http://www.curi.us/
---
[This E-mail scanned for viruses by Declude Virus]
More information about the Python-list
mailing list