[antispam-f] Re: RegEx support (was: Tab in 'From:')

  • From: Steven Pampling <steve.pampling@xxxxxxxxxxxxx>
  • To: antispam@xxxxxxxxxxxxx
  • Date: Wed, 25 Oct 2006 07:57:31 +0100

On 24 Oct, Frank de Bruijn <antispam@xxxxxxxxxx> wrote:
> In article <4e7a8a1742steve.pampling@xxxxxxxxxxxxx>, Steven Pampling
>    <steve.pampling@xxxxxxxxxxxxx> wrote:
> > On 23 Oct, Frank de Bruijn <antispam@xxxxxxxxxx> wrote:

> > > Sorry to disappoint you, but I'm not sure AntiSpam will ever get
> > > real regex support. I've added some more wildcard functionality to
> > > 1.59 alpha 6, but I'm afraid that's not based on regular expressions.

> > Shame, some while back back around the time of your early versions) I
> > had a mostly working regex based around Kades version and user tests.

> > A touch unstable but it did work. I must have got the code somewhere -
> > only a few machines and about 400Gb of data to sift through. (I really
> > should tidy up occasionally)

> To get an idea of how difficult or easy it might be to use it with
> AntiSpam, I looked at the RegEx module just now.

> It's probably a very useful piece of software, but I wouldn't be able to
> tell because there's no real documentation with it. Apparently one is
> assumed to have a good knowledge of regular expressions (which I don't).
> There's a mention of a StrongHelp SWI manual in the ChangeLog, but it
> isn't included and it's not on Christian Ludlam's site either.

> At present I just don't have the time to go hunting for the necessary
> information (or digest it when found). Sorry. Maybe later.

I will dig out the old UserTest code that did Regex.
I have a habit of commenting throughout so that I can recall what I was
doing with that bit[1] so following the pattern (pun) should be fairly

I have copies of the StrongHelp manuals here and as the readme file in the
module zip file says it is based closely on Gnu regex so the available
syntax variants are covered quite widely over in Unixville.

[1] I tend to make little bits of basic code that do specific things and
then patch them together and hack them about. Not the neatest thing, but
then for neat you'd want a programmer.


Steve Pampling

Other related posts: