On Mon, Jul 01, 2002 at 08:59:28AM -0700, Bart Schaefer wrote:
> I just got a message that scored on DOUBLE_CAPSWORD, but I ran it through
>       perl -ne 'print if /\b([A-Z]{3,})\b.{0,50}\b\1\b/'
> and it that didn't print anything.  If I append an 'i' to the pattern to
> make it case-insensitive, it hits on three lines.

That's not how SA works though, it's not a per-line thing, it's a per
paragraph thing.  Try:

perl -ne 'BEGIN { $/="" } print if /\b([A-Z]{3,})\b.{0,50}\b\1\b/'

I bet you'll get something.

-- 
Randomly Generated Tagline:
"Don't ever make trouble here, I beat you up each time."
                      - From Rumble in the Bronx


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to