RE Module Question.

Adonis Vargas deltapigz at telocity.com
Tue Nov 6 05:50:13 CET 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