Hey, all -- I know how to match and return stuff from a regex, but I'd
like to do an if, something like (from Perl, sorry):

if (/MatchTextHere/){DoSomething();}

How do I accomplish this in Python?

Thanks!

-Ken




-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to