Re: [EXIM] filter problem

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Steven A. Reisman
Dátum:  
Címzett: exim-users
Tárgy: Re: [EXIM] filter problem
> On Sat, 13 Jun 1998 18:00:33 -0500 (CDT), Steven A. Reisman wrote:

> >Help! I'm trying to create a filter that will catch email with "$$$"
> >in the Subject header. But I can't seem to figure out how to specify
> >a literal $.


> >if $h_subject matches "(XXX|!!!|BULK|MONEY|\\$\\$\\$)"


>     Why not just \$?  Since exim uses pcre that is the perl way of denoting a
> literan $.


There's a double level of quoting that I'm trying to understand.
Here's what a single \ gives:


   Filter error: failed to expand "(XXX|!!!|BULK|MONEY|$$$)" in filter file:
                 $ not followed by letter, digit, or {



-- 
Steven A. Reisman (sar@???)         Duluth/Superior: 715-395-0311
PressEnter!            |  River Falls: 715-426-2100  Menomonie: 715-232-0430
P.O. Box 312           |   Eau Claire: 715-830-1273   LaCrosse: 608-785-1411
421 N 2nd Street       | New Richmond: 715-246-7060   Somerset: 715-246-7060
River Falls, WI  54022 |  Twin Cities: 612-436-5254   Red Wing: 715-792-5279


--
*** Exim information can be found at http://www.exim.org/ ***