Article View: news.software.readers
Article #226401Re: 40tude: Do I match on the entire string or a substring
From: Sqwertz
Date: Sun, 28 Sep 2008 02:28
Date: Sun, 28 Sep 2008 02:28
14 lines
1918 bytes
1918 bytes
VanguardLH <V@nguard.LH> wrote:
> Sometimes it still gets confusing just when 40tude Dialog will trigger
> on a filter when using regex. Say I have the filter:
>
> !delete From {regex}
>
> Does that regex have to match on the entire string or just find a
> substring within it? That is, am I striving for a whole-string match or
> a substring find?
Substring unless you're using ^...$
-sw
Technical Details
Message-ID:
<270908.212845nsr95.307@sqwertz.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!nf02.dk.telia.net!out02a.usenetserver.com!news.usenetserver.com!in04.usenetserver.com!news.usenetserver.com!nlpi057.nbdc.sbc.com!prodigy.net!flpi088.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!nlpi067.nbdc.sbc.com.POSTED!666d6152!not-for-mailReferences:
<gbkmfg$3mv$1@registered.motzarella.org>Show Full Headers
Complete Article Headers
Message-ID: <270908.212845nsr95.307@sqwertz.com> Subject: Re: 40tude: Do I match on the entire string or a substring Date: Sat, 27 Sep 2008 21:28:45 -0500 From: Sqwertz <swertz@cluemail.compost> References: <gbkmfg$3mv$1@registered.motzarella.org> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed101.telia.com!nf02.dk.telia.net!out02a.usenetserver.com!news.usenetserver.com!in04.usenetserver.com!news.usenetserver.com!nlpi057.nbdc.sbc.com!prodigy.net!flpi088.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!nlpi067.nbdc.sbc.com.POSTED!666d6152!not-for-mail Newsgroups: news.software.readers MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-No-Archive: banter X-WebTV-Stationery: Standard; BGColor=red; Background="http://i26.tinypic.com/25polj9.gif"; TextColor=red Lines: 14 NNTP-Posting-Host: 75.63.5.255 X-Complaints-To: abuse@prodigy.net X-Trace: nlpi067.nbdc.sbc.com 1222568920 ST000 75.63.5.255 (Sat, NNTP-Posting-Date: Sat, 27 Sep 2008 22:28:40 EDT Organization: at&t http://my.att.net/ X-UserInfo1: FKPO@MC@@S@US^T[KROLN[TDFZ\@@FXLM@TDOCQDJ@_@FNXACNVOPCWZBL[\YUWHANGYZEFNHFZPNLOBUNSS^_LGEVWEY\PHO@YJSSWBBDT\PFD^ESBTXVCCMTD]JCJLE\_IJMFNRY]SWE[S[D_CNB__ZK^VGVCKHA[S@COB^[@ZQSDFQ\BPMS@DZVUKQTJL