🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #135114

Re: [Dialog] Regex for "AND"

#135114
From: Scott
Date: Wed, 08 Oct 2003 16:49
17 lines
1581 bytes
On 8 Oct 2003 16:07:24 GMT, Antonio 'Gandalf' Favata wrote:

> news.software.readers ~ 8/10/2003 17.55 ~ Scott:
> 
>> I want to search for two or more keywords in the Subject using a regular
>> expression. I read the help section about regex, but nothing seems obvious
>> to me about how to set an AND condition, such as "Dialog AND Newsreader".
> 
> PCRE (Perl compatible Regualar Expression) has nothing like logical AND.
> 
> Try this: {Dialog.*newsreader|newsreader.*Dialog}

It works if I don't include the curlycue brackets. Thanks Antonio.

-- 
Scott
Technical Details
Message-ID: <ztx3ce2ahnac.1xfg1fn1zzofw.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail
References: <k75ouvgu9f8m.3o9zgyqu00vx.dlg@40tude.net> <b8lpp2crw6rv.dlg@gandalf.my-fqdn.de>

Show Full Headers
Complete Article Headers
Message-ID: <ztx3ce2ahnac.1xfg1fn1zzofw.dlg@40tude.net>
Subject: Re: [Dialog] Regex for "AND"
Date: Wed, 8 Oct 2003 11:49:14 -0500
From: Scott <scott@invalid.net>
References: <k75ouvgu9f8m.3o9zgyqu00vx.dlg@40tude.net> <b8lpp2crw6rv.dlg@gandalf.my-fqdn.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!feed.news.qwest.net!news.uswest.net.POSTED!not-for-mail
Newsgroups: news.software.readers
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Organization: nada
User-Agent: 40tude_Dialog/2.0.5.1
Lines: 16
NNTP-Posting-Host: 156.142.21.156
X-Trace: news.uswest.net 1065631754 156.142.21.156 (Wed, 08 Oct 2003 11:49:14 CDT)
NNTP-Posting-Date: Wed, 08 Oct 2003 11:49:14 CDT