🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64571

Re: INN filter help ~

#64571
From: Jeffrey M. Vinocur
Date: Fri, 28 Mar 2003 11:40
18 lines
1425 bytes
In article <3e84df80$1@lungfunggdn.org>,
Arthur <arthur@arthurstudio.com> wrote:
>
>I can reject bad word now, but if i want to reject two or three
>bad word, how can i do this??

I think it's probably time for you to locate a Perl tutorial or
textbook.


>        if ($body =~ /www.sex.com/i){

if ($body =~ /www\.sex\.com|www\.xxx\.com/i) {

-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <b61cb9$i5q$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
References: <3e7beb44$1@lungfunggdn.org> <b5uo0g$2pp$1@puck.litech.org> <3e84db1b$1@lungfunggdn.org> <3e84df80$1@lungfunggdn.org>

Show Full Headers
Complete Article Headers
Message-ID: <b61cb9$i5q$1@puck.litech.org>
Subject: Re: INN filter help ~
Date: Fri, 28 Mar 2003 11:40:25 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <3e7beb44$1@lungfunggdn.org> <b5uo0g$2pp$1@puck.litech.org> <3e84db1b$1@lungfunggdn.org> <3e84df80$1@lungfunggdn.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 17
Sender: jeff@litech.org
NNTP-Posting-Host: 66.218.0.75
X-Trace: puck.litech.org 1048851625 18618 66.218.0.75 (28 Mar 2003 11:40:25 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Fri, 28 Mar 2003 11:40:25 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)