3 messages in net.sourceforge.lists.courier-maildrop[maildropl] Regular expressions.
FromSent OnAttachments
Ramy M. HassanJun 28, 2002 3:45 pm 
Sam VarshavchikJun 28, 2002 4:09 pm 
Derrick 'dman' HudsonJun 28, 2002 10:10 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[maildropl] Regular expressions.Actions...
From:Ramy M. Hassan (ra@aast.edu)
Date:Jun 28, 2002 3:45:40 pm
List:net.sourceforge.lists.courier-maildrop

Hi,

I have a very compilcated pattern that I want to mach site wide. This makes the maildrop too slow. I suggest to add a tool to maildrop package that compiles a regular expression and store it in a binary file. Then make maildrop able to read this file and execute the regular expression directly without having to recompile it everytime. I already tried to do that. At first I thought that maildrop do regcomp/regexec, but I found that maildrop has its own regular expression implementation. I just wonder why ? isn't regcomp/regexec good enough ? Also in the regular expression implementation of maildrop , I couldn't separate the compilation from the execution. may be it wasn't clear for me, but I still wonder if that possible or not. Please give me your ideas.

Best regards Ramy