Re: 请问一个正则的问题

cunheise <[email protected]>
Newsgroups gmane.comp.python.chinese
Message-ID <[email protected]>
print str[1:-1].split(')(')
> Date: Thu, 17 Jan 2008 15:22:15 +0800> From: [email protected]> To: [email protected]> Subject: Re: [python-chinese] 请问一个正则的问题> > s[1:len(s)-1].split(')(')> huang falls wrote:> > Hello !> >> > str="(aaa)(bbb)(ccc)"> >> > 想将其转成一个list :> >> > [ "aaa", "bbb", "ccc" ]> >> > 请问如何做比较合适?> >> > Thanks!> >> > Regards> > Falls> > _______________________________________________> > python-chinese> > Post: send [email protected]> > Subscribe: send subscribe to [email protected]> > Unsubscribe: send unsubscribe to [email protected]> > Detail Info: http://python.cn/mailman/listinfo/python-chinese> > _______________________________________________> python-chinese> Post: send [email protected]> Subscribe: send subscribe to [email protected]> Unsubscribe: send unsubscribe to [email protected]> Detail Info: http://python.cn/mailman/listinfo/python-chinese
_________________________________________________________________
MSN圣诞礼物火热登场,免费发放中,快来领取吧!
http://im.live.cn/emoticons/?ID=18

_______________________________________________
python-chinese
Post: send [email protected]
Subscribe: send subscribe to [email protected]
Unsubscribe: send unsubscribe to  [email protected]
Detail Info: http://python.cn/mailman/listinfo/python-chinese
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.