check if regeular expression has results
horpner at yahoo.com
Thu Aug 9 15:13:27 CEST 2007
On 2007-08-09, shahargs at gmail.com <shahargs at gmail.com> wrote:
> 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?
Newgroups are a poor substitute for the docs. For one thing,
newsgroups sometimes contain cranky people who say, "RTFM!" The
docs will never do that.
More information about the Python-list