Andrew wrote:
> Matt Kettler wrote:
>> Al Danks wrote:
>>
>>> Matt Kettler <mkettler <at> evi-inc.com> writes:
>>>
>>>
>>>  
>>>
>>>> Try a rule something like this:
>>>>
>>>> L_FROM_STRING header From =~ /$string/
>>>>
>>>>
>>>>    
>>>
>>> It appears that the rule is also hitting senders with the string
>>> following a .
>>>
>>> I.e. From =~ /$com/ hits
>>> comalksdfl.net
>>>
>>> aksafjdla.com
>>>  
>>
>>
>> Interesting.. that shouldn't happen with the $ there.. I'll have to test
>> that, unless Theo or one of the other devs can offer an explanation as
>> to why..
>>
>>
>
> Are SA regexes different from other regexes? If not, use '^' to
> specify the beginning of a string and '$' its end. Try this pattern:
> /^com/
>
You're right Andrew.  I had a brain-cylinder misfire there..

Sorry Al, try it with ^ instead of $

Reply via email to