Re: check if regeular expression has results

2007-08-09 Thread Bruno Desthuilliers
Neil Cerutti a écrit : > On 2007-08-09, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >>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. >> >>

Re: check if regeular expression has results

2007-08-09 Thread Steve Holden
[EMAIL PROTECTED] wrote: > 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? > A failed match returns No

Re: check if regeular expression has results

2007-08-09 Thread Neil Cerutti
On 2007-08-09, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 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 sim

Re: check if regeular expression has results

2007-08-09 Thread Patrick Doyle
On 8/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > 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?

Re: check if regeular expression has results

2007-08-09 Thread Marc 'BlackJack' Rintsch
On Thu, 09 Aug 2007 05:58:22 -0700, shahargs 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? Simply