[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]
    Search the FAQ Archives

Part1 - Part2 - Single Page

Top Document: [news.software.readers] trn newsreader FAQ, part 1: Basics
Previous Document: USST: Is there an easy way to save a specific thread, without saving others I've also selected but haven't read yet?
Next Document: USSP: How to select based on my script that processes an article?


USPW: How can I select articles which contain a particular word in the body?


Contributors: Perry Hutchison <perryh@pluto.rain.com>,
        Wayne Davison <trn@clari.net>

> I want to select any articles in a particular group which mention
> "oregon" in the body or subject.  The obvious solution is
>
>       /oregon/a+

One thing you can do is to put \b before and after a word you wish to
match (\b matches a word boundary):

        /\boregon\b/a+

This would keep it from matching uoregon but would not stop it from
matching a sitename of just oregon in the path, if such a site exists.

If you want to disregard the header in your search, try:

   /search string/b:+

Using the 'b' modifier only searches the body of the article, and it
stops searching at the "-- \n" line which most(?) people still use to
delimit their signature.  This will let you find something in the body
of the article without hitting a header and without hitting (most)
signatures. [It will not ignore attribution lines, however.]



Top Document: [news.software.readers] trn newsreader FAQ, part 1: Basics
Previous Document: USST: Is there an easy way to save a specific thread, without saving others I've also selected but haven't read yet?
Next Document: USSP: How to select based on my script that processes an article?

Part1 - Part2 - Single Page


[ Usenet FAQs | Search | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
@tigerden.com (Peter J. Kappesser)

Last Update October 11 2008 @ 00:15 AM

© 2008 FAQS.ORG. All rights reserved.