Regular expressions

Kill Bill bill at kill.com
Sat Oct 25 19:37:01 EDT 2003


Also, if yipee is a variable, what happens when I do?

re.search("[yipee]*", line):

This will treat yipee as a string correct?  I want it to treat yipee as a
variable and perform the different combinations on whatever is inside the
variable.


"Kill Bill" <bill at kill.com> wrote in message
news:bneu7i$10u2ht$1 at ID-198839.news.uni-berlin.de...
> I'm trying to find all combinations of the a string.
> I found that [blah]* gives it to me but it uses the same letter multiple
> times which I dont' want.
>
>






More information about the Python-list mailing list