check if regeular expression has results

shahargs at gmail.com shahargs at gmail.com
Thu Aug 9 08:58:22 EDT 2007


Hi,
I'm looking for the best way to check if regular expression return
true (it's mean - there is a match). for example, i want "if" that
check if this regular expression: .*born.*to.* has a match.

What's the way to do that simply?

Thanks a lot,
Shahar.




More information about the Python-list mailing list