Re and Me.

epoch7 epoch7 at nocharmailter.net
Sat Aug 25 06:36:31 EDT 2001


This is day 2 of my programming expereience, so please bear with my
newbie-ishness.
I'm trying to search for a string inside a file.  The string will be
different
but the characters marking its beginning and end are the same (url= and &).
I've spent all day and night just learning the ins and outs of python so
this is still a little beyond me.
re.split() would return the values between just one pattern correct? So
there must be some other way.
I could put an if statement in there that if it finds "&" it would output
that string to file and continue with the search
but that waaay beyond me :)

will






More information about the Python-list mailing list