Re: substring and regular expression

2005-08-06 Thread [EMAIL PROTECTED]
can you be so kind to show me a small example in spark if u like for remove all string with a substring of length 4 and the reverse of it? i thank you a lot -- http://mail.python.org/mailman/listinfo/python-list

substring and regular expression

2005-08-04 Thread [EMAIL PROTECTED]
i have read finding sublist http://groups.google.it/group/comp.lang.python/browse_thread/thread/50b09a0aca285256/5156ada81fc9358a?hl=it#5156ada81fc9358a the problem was in a string to find if we have two substring non overlapping of lenght al least 4 it was done by

Re: substring and regular expression

2005-08-04 Thread Kent Johnson
[EMAIL PROTECTED] wrote: i have read finding sublist http://groups.google.it/group/comp.lang.python/browse_thread/thread/50b09a0aca285256/5156ada81fc9358a?hl=it#5156ada81fc9358a the problem was in a string to find if we have two substring non overlapping of lenght al least 4 it was

Re: substring and regular expression

2005-08-04 Thread [EMAIL PROTECTED]
but in general is there a way to include in a re, in this example something like...matches iff p , and q in which p==q[::-1] ? A way to putting a small part of code of python in re? Thanx for your many helps -- http://mail.python.org/mailman/listinfo/python-list

Re: substring and regular expression

2005-08-04 Thread Diez B.Roggisch
borges2003xx at yahoo.it borges2003xx at yahoo.it writes: but in general is there a way to include in a re, in this example something like...matches iff p , and q in which p==q[::-1] ? A way to putting a small part of code of python in re? Thanx for your many helps What you are after is a