RE Module Question.

Adonis Vargas deltapigz at telocity.com
Mon Nov 5 23:50:13 EST 2001


i am trying to fidn specific word within a string and am unable to
findanything suitable for it, i have tried looking into the RE module but it
just is written in hebrew, and can not grasp any of it. looked into the
python.org/howto's and under the library/module index and nothing i just
cant understand it. is there a simple example to this or simple explanation?
all i want to do is find i.e.:

test = "this is a test"
if "test" in test: print "found string."

this is just pseudocode to get the concept im trying to achieve.

any help would greatly be appreciated.

thanks,
Adonis





More information about the Python-list mailing list