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 anything

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 ... $value

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 anything other than

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 anything other than

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 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 .
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 or dog is in the

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 cat dog dog dog Essentially I

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 something like this too: cat cat

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 dog cat dog dog cat

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 for sure: cat

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? {^_^}