David, Thanks. For the life of me I did not see that extra period.
> -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of David > Barker > Sent: 2009-02-18 12:39 > To: [email protected] > Subject: RE: [Declude.JunkMail] Regex > > I would say you have it pretty much down. If I did it I would have this > > (?i:as.{0,2}seen.{0,2}on.{0,2}(?:oprah|60.{0,2}minutes)) > > You have an extra . between seen and on > > David B > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Dave > Beckstrom > Sent: Wednesday, February 18, 2009 1:28 PM > To: [email protected] > Subject: [Declude.JunkMail] Regex > > > Trying to filter on: > > Asseenon Oprah > As seen on Oprah > As seen on 60 minutes > Asseenon 60 minutes > As seen on 60-minutes > > This regex matches on, for example, "asseen on 60 minutes" but does not > match on "asseenon 60 minutes" What did I do wrong? > > Is there a better way to code this? > > ANYWHERE 3 PCRE (?i:as.{0,2}seen.{0,2}.on.{0,2}(?:oprah|60.minutes)) > > > > > --- > This E-mail came from the Declude.JunkMail mailing list. To > unsubscribe, just send an E-mail to [email protected], and > type "unsubscribe Declude.JunkMail". The archives can be found > at http://www.mail-archive.com. > > > > --- > This E-mail came from the Declude.JunkMail mailing list. To > unsubscribe, just send an E-mail to [email protected], and > type "unsubscribe Declude.JunkMail". The archives can be found > at http://www.mail-archive.com. --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [email protected], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.
