Re: Calling Regex Experts

2006-08-24 Thread jdow
From: "D.J." <[EMAIL PROTECTED]> I'm expecting these type of strings for sure: cat dog cat dog dog cat But I may get something like this too: cat cat dog dog dog Essentially I want it to match if anything other than cat or dog is in the string. And do what with "cat cat dog catapult"? {^_^

Re: Calling Regex Experts

2006-08-24 Thread D . J .
On 8/24/06, Bowie Bailey <[EMAIL PROTECTED]> wrote: D.J. wrote:> On 8/24/06, Bowie Bailey <[EMAIL PROTECTED]> wrote:> > D.J. wrote:> > > On 8/24/06, Bart Schaefer < [EMAIL PROTECTED]> wrote:> > > > On 8/24/06, D. J. <[EMAIL PROTECTED] > wrote:> > > > >> > > > > I'm expecting these type of strings f

RE: Calling Regex Experts

2006-08-24 Thread Bowie Bailey
D.J. wrote: > On 8/24/06, Bowie Bailey <[EMAIL PROTECTED]> wrote: > > D.J. wrote: > > > On 8/24/06, Bart Schaefer <[EMAIL PROTECTED]> wrote: > > > > On 8/24/06, D. J. <[EMAIL PROTECTED] > wrote: > > > > > > > > > > I'm expecting these type of strings for sure: > > > > > > > > > > cat > > > > > do

Re: Calling Regex Experts

2006-08-24 Thread D . J .
On 8/24/06, Bowie Bailey <[EMAIL PROTECTED]> wrote: D.J. wrote:> On 8/24/06, Bart Schaefer <[EMAIL PROTECTED]> wrote:> > On 8/24/06, D. J. <[EMAIL PROTECTED] > wrote:> > >> > > I'm expecting these type of strings for sure:> > >> > > cat> > > dog> > > cat dog> > > dog cat> > > > > > But I may get so

RE: Calling Regex Experts

2006-08-24 Thread Bowie Bailey
D.J. wrote: > On 8/24/06, Bart Schaefer <[EMAIL PROTECTED]> wrote: > > On 8/24/06, D. J. <[EMAIL PROTECTED]> wrote: > > > > > > I'm expecting these type of strings for sure: > > > > > > cat > > > dog > > > cat dog > > > dog cat > > > > > > But I may get something like this too: > > > > > > cat

Re: Calling Regex Experts

2006-08-24 Thread D . J .
On 8/24/06, Bart Schaefer <[EMAIL PROTECTED]> wrote: On 8/24/06, D. J. <[EMAIL PROTECTED]> wrote:>> I'm expecting these type of strings for sure:>> cat> dog> cat dog> dog cat >> But I may get something like this too:>> cat cat dog> dog dog>> Essentially I want it to match if anything other than cat

Re: Calling Regex Experts

2006-08-24 Thread Bart Schaefer
On 8/24/06, D. J. <[EMAIL PROTECTED]> wrote: I'm expecting these type of strings for sure: cat dog cat dog dog cat But I may get something like this too: cat cat dog dog dog Essentially I want it to match if anything other than cat or dog is in the string. That constraint means you have to

Re: Calling Regex Experts

2006-08-24 Thread D . J .
I'm not quite clear on what you want here.  Your example should NOThave matched on "cat dog bird" since it contains one of your terms. It would have matched on "bird", since it doesn't.Oops... that's what I meant.  It doesn't match (though I want it to) because it contains one of the terms.

Re: Calling Regex Experts

2006-08-24 Thread D . J .
On 8/24/06, Bowie Bailey <[EMAIL PROTECTED]> wrote: D.J. wrote:> OK, I'm stumped.  I need to create a regex that will match if> anything other than two terms I've specified exist.>> So for example, I have two terms I like, say "cat" and "dog".  I want > the rule to match if a string contains anythi

Re: Calling Regex Experts

2006-08-24 Thread D . J .
On 8/24/06, Bowie Bailey <[EMAIL PROTECTED]> wrote: D.J. wrote:> OK, I'm stumped.  I need to create a regex that will match if> anything other than two terms I've specified exist.>> So for example, I have two terms I like, say "cat" and "dog".  I want > the rule to match if a string contains anythi

RE: Calling Regex Experts

2006-08-24 Thread Bowie Bailey
D.J. wrote: > OK, I'm stumped. I need to create a regex that will match if > anything other than two terms I've specified exist. > > So for example, I have two terms I like, say "cat" and "dog". I want > the rule to match if a string contains anything other than cat or > dog. > > I tried ...

Re: Calling Regex Experts

2006-08-24 Thread Alan Premselaar
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 D.J. wrote: > OK, I'm stumped. I need to create a regex that will match if anything > other than two terms I've specified exist. > > So for example, I have two terms I like, say "cat" and "dog". I want > the rule to match if a string contains anyt

Calling Regex Experts

2006-08-24 Thread D . J .
OK, I'm stumped.  I need to create a regex that will match if anything other than two terms I've specified exist.So for example, I have two terms I like, say "cat" and "dog".  I want the rule to match if a string contains anything other than cat or dog. I tried ...$value !~ /cat|dog/ ...but this ha