Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Mac Comm > Re: MT-Newswatc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 15 Topic 2876 of 3033
Post > Topic >>

Re: MT-Newswatcher Filtering question

by Clark Martin <cmnews@[EMAIL PROTECTED] > Feb 5, 2008 at 06:56 PM

In article 
<jollyroger-56A592.05291905022008@[EMAIL PROTECTED]
>,
 Jolly Roger <jollyroger@[EMAIL PROTECTED]
> wrote:

> In article <megadethguy-897E7B.21062904022008@[EMAIL PROTECTED]
>,
>  Megadave <megadethguy@[EMAIL PROTECTED]
> wrote:
> 
> > I want to filter out on a given combination of letters - regardless of

> > how those specific letter appear from an author.
> > 
> > For example:  FOOBAR and FBRAOO should both generate a hit.
> > 
> > Any thoughts?  I personally don't think this is possible but I figured

> > I'd ask.
> 
> With MT-NewsWatcher, the initial or obvious solution is to use regular 
> expressions. Unfortunately, and regular expressions is not the right 
> tool for the job of matching a list of characters in any order. 
> 
> You'd need to create a rather complex and lengthy regular expression. 
> Basically, you need to list every possible combination of characters in 
> the regular expression string. For instance, here's a regular expression

> that matches every string containing all of 'a', 'b', and 'c' in any 
> order:
> 
>
([^aA][aA][^bB][bB][^cC][cC])|([^aA][aA][^cC][cC][^bB][bB])|([^bB][bB][^a
>
A][aA][^cC][cC])|([^bB][bB][^cC][cC][^aA][aA])|([^cC][cC][^aA][aA][^bB][b
> B])|([^cC][cC][^bB][bB][^aA][aA])

You could use this regular expression though:

[ABFOR][ABFOR][ABFOR][ABFOR][ABFOR][ABFOR]

It will catch any combination of those letters but in any number, not 
limited to the one or two of FOOBAR.  It may be enough, depending.

-- 
Clark Martin
Redwood City, CA, USA               Macintosh / Internet Consulting

"I'm a designated driver on the Information Super Highway"
 




 15 Posts in Topic:
MT-Newswatcher Filtering question
Megadave <megadethguy@  2008-02-04 21:06:29 
Re: MT-Newswatcher Filtering question
Barry Margolin <barmar  2008-02-05 01:01:19 
Private Message
   2008-02-05 00:32:19 
Private Message
   2008-02-05 18:37:31 
Re: MT-Newswatcher Filtering question
Jolly Roger <jollyroge  2008-02-05 05:29:19 
Re: MT-Newswatcher Filtering question
Megadave <megadethguy@  2008-02-05 18:39:17 
Re: MT-Newswatcher Filtering question
Jolly Roger <jollyroge  2008-02-05 20:56:40 
Re: MT-Newswatcher Filtering question
Jolly Roger <jollyroge  2008-02-05 21:01:22 
Re: MT-Newswatcher Filtering question
Clark Martin <cmnews@[  2008-02-05 18:56:47 
Re: MT-Newswatcher Filtering question
Jolly Roger <jollyroge  2008-02-05 21:03:39 
Re: MT-Newswatcher Filtering question
Megadave <megadethguy@  2008-02-05 21:02:25 
Re: MT-Newswatcher Filtering question
Warren Oates <warren.o  2008-02-06 09:35:00 
Re: MT-Newswatcher Filtering question
Jolly Roger <jollyroge  2008-02-06 11:14:59 
Re: MT-Newswatcher Filtering question
Megadave <megadethguy@  2008-02-06 23:19:24 
Re: MT-Newswatcher Filtering question
Howard S Shubs <howard  2008-02-09 23:05:00 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Sep 6 16:28:03 CDT 2008.