[ Ron Emaus writes: ]
> The sample.cf file comes with the following lines already in the
> $global_taboo_header section:
> /^subject:\s*Receipt Confirmation\b/i
> I sent a message to a a new 1.94 list I'm testing with each of these
> strings in the subject line. The first doesn't work but the second does.
> Can someone explain why my testing of the RCPT: header didn't BOUNCE?
Because the ":\b" is nonsense. Unless the colon is immediately followed
by a "word" character (\w), "\b" can't possibly match since the colon
is a "non-word" character (\W) and thus there is no transition, i.e.
no "(\w\W||W\w)". To say it another way, "\b" is only meaningful at
the boundary between "word" and "non-word" characters. The first regex
should be written as:
Here's the sample.cf patch (output line numbers assume 1.94.1 patches):
--- sample.cf.orig Thu Nov 7 11:28:21 1996
+++ sample.cf Thu Dec 5 16:09:35 1996
@@ -243,7 +244,7 @@
$global_taboo_headers = <<'END';
/^subject: ndn: /i