K
Ken D'Ambrosio
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
like to do an if, something like (from Perl, sorry):
if (/MatchTextHere/){DoSomething();}
How do I accomplish this in Python?
Thanks!
-Ken