Spam Filter ISP Support Forum

  New Posts New Posts RSS Feed - Regular Expressions (RegEx)
  FAQ FAQ  Forum Search   Register Register  Login Login

Regular Expressions (RegEx)

 Post Reply Post Reply
Author
Nathan View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nathan Quote  Post ReplyReply Direct Link To This Post Topic: Regular Expressions (RegEx)
    Posted: 16 March 2004 at 5:32am

Hi,

I am trying to use the regular expressions on my server.

When I type the keywords into the RegEx tester they work fine but if I put then in the keywords blacklist they stop working and give an error.

Any ideas.

Nathan...

 

The keywords are as follows:

(?i)v(.{0,3})i(.{0,3})a(.{0,3})g(.{0,3})r(.{0,3})a
(?i)v(.{0,3})p(.{0,3})r(.{0,3})x
(?i)u(.{0,3})n(.{0,3})s(.{0,3})u(.{0,3})b(.{0,3})s(.{0,3})c(.{0,3})r
(?i)p(.{0,3})r(.{0,3})e(.{0,3})s(.{0,3})c(.{0,3})r(.{0,3})i(.{0,3})p
(?i)u((.{0,3})n(.{0,3})i(.{0,3})v(.{0,3})e(.{0,3})r(.{0,3})s(.{0,3})i
(?i)d(.{0,3})i(.{0,3})p(.{0,3})l(.{0,3})o(.{0,3})m
(?i)l(.{0,3})o(.{0,3})s(.{0,3})e(.{0,3})w(.{0,3})e(.{0,3})i(.{0,3})g
(?i)s(.{0,3})e(.{0,3})x
(?i)p(.{0,3})e(.{0,3})n(.{0,3})i(.{0,3})s
(?i)p(.{0,3})o(.{0,3})r(.{0,3})n
(?i)i(.{0,3})n(.{0,3})c(.{0,3})e(.{0,3})s(.{0,3})t

and I am getting the following error:

String matching error for ((?i)l(.{0,3})o(.{0,3})s(.{0,3})e(.{0,3})w(.{0,3})e(.{0,3})i(.{0,3}) --and-- E-Zee move quotation) : TRegExpr(comp): ?+*{ Follows Nothing (pos 1)

 

Back to Top
Desperado View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 January 2005
Location: United States
Status: Offline
Points: 1143
Post Options Post Options   Thanks (0) Thanks(0)   Quote Desperado Quote  Post ReplyReply Direct Link To This Post Posted: 16 March 2004 at 2:02pm

Are you putting the entire RegEx inside Parens "(RegEx)"  The RegEx test does not require the first and last Paren but the KeyWord entry does.

Regards,

Dan S.

Back to Top
Nathan View Drop Down
Guest Group
Guest Group
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nathan Quote  Post ReplyReply Direct Link To This Post Posted: 19 March 2004 at 1:28am

Thanks I'll give it a go.

Nathan...

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.102 seconds.