6 messages in net.sourceforge.lists.courier-users[courier-users] Re: whole word/partia...
FromSent OnAttachments
rica...@americasnet.comMay 7, 2003 7:54 pm 
Rodrigo SeveroMay 8, 2003 4:14 am 
ar...@anand.orgMay 8, 2003 5:16 am 
rica...@americasnet.comMay 8, 2003 6:23 am 
rica...@americasnet.comMay 8, 2003 11:53 am 
Anand BuddhdevMay 8, 2003 6:34 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:[courier-users] Re: whole word/partial word matching with maildropfilter?Actions...
From:rica...@americasnet.com (rica@americasnet.com)
Date:May 8, 2003 11:53:28 am
List:net.sourceforge.lists.courier-users

Thanks for the clarification!

will /[:wbreak:]hell[:wbreak:]/ cover /^hell$/, /^hell / and / hell$/ ?

Ricardo

On Thu, 08 May 2003 14:16:53 +0200 ar@anand.org wrote:

Rodrigo Severo writes:

rica@americasnet.com wrote:

Hi,

Is there a way to distinguish whole vs. partial word matching with maildrop?

For example, matching "hell" vs. "hello", and "sex" vs. "sextant". So in a whole word match for hell, only "hell" but not "hello" would match, whereas a partial word match would match either one.

/hell/ matches 'hell' and 'hello' /[:space:]hell[:space:]/ matches only 'hell' but not 'hello' neither 'hell.'.

Use /[:wbreak:]hell[:wbreak:]/ to match 'hell', and not 'shell' or 'hello'.