regular expression problem
- From: "borges2003xx@xxxxxxxx" <borges2003xx@xxxxxxxx>
- Date: 31 May 2005 01:19:22 -0700
hi everyone
there is a way, using re, to test (for es) in
a=[a1,a2,a3,a4,a5,a6,a7,a8,a9,a10,a11,a12,a13,a14] if a list b is
composed by three "sublists" of a separated or not by elements.
if b=[a2,a3,a4,a7,a8,a12,a13] gives true because in a
we have [....,a2,a3,a3,...,a7,a8,...,a12,a13,...]
or b=[a1,a2,a5,a14] gives true because in a we have
[a1,a2,....,a5,...,a14] and so on...
thank in advance.
giorgio borghi
.
- Follow-Ups:
- Re: regular expression problem
- From: Kent Johnson
- Re: regular expression problem
- From: alex23
- Re: regular expression problem
- Prev by Date: Re: prime number
- Next by Date: Re: __getattribute__ and __getattr__
- Previous by thread: scripting browsers from Python
- Next by thread: Re: regular expression problem
- Index(es):