Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

[news.software.readers] trn newsreader FAQ, part 1: Basics
Section - USPW: How can I select articles which contain a particular word in the body?

( Part1 - Part2 - Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Neighborhoods ]


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?
See reader questions & answers on this topic! - Help others by sharing your knowledge
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.]

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




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 | Web FAQs | Documents | RFC Index ]

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





Last Update November 21 2011 @ 01:00 PM