On 12 Dec 2006 Frank de Bruijn wrote: > In article <8ba802944e.ricp@xxxxxxxxxxxxxxxxxxxxx>, > Richard Porter <ricp@xxxxxxxxxxxxxxxx> wrote: >> How do you test for a slash (or //) in the operand of a rule? I can't >> see anything about slashes in the manual under the syntax of rules. >> When I try to test for a subject or sender containing // it doesn't >> work. > > For //, take a look at the StrongHelp page 'Comments in rules files' > (Rules->Syntax->comments if you follow links from the first page). Thanks. That's only in the 1.59-5 StrongHelp. > I think it's probably worth mentioning this on the 'Known problems and > restrictions' page... You need to make in clear under "criterion" that it can't contain //, or better still, do without comments before rules or use || which is very unlikely to appear in a header, or make the separator " //" with a preceding space, or have an escape sequence for /, or have a preceding comment start with / at the start of the line. My preference is to have a comment after the rule, not in front of it. Richard -- _ |_|. _ Richard Porter http://www.minijem.plus.com/ |\_||_ mailto:ricp@xxxxxxxxxxxxxxxx