From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: Regular expressions in advanced scoring rules
Date: 24 Jun 1998 06:30:58 +0200 [thread overview]
Message-ID: <m3wwa75sl9.fsf@sparky.gnus.org> (raw)
In-Reply-To: Kees de Bruin's message of "Wed, 17 Jun 1998 14:02:56 +0200 (MET DST)"
Kees de Bruin <kees_de_bruin@tasking.com> writes:
> is it possible to use regular expressions in the advanced scoring
> rules. When looking at the infor in the documentation it should be
> possible, but when I have a simple rule it is not recognized.
>
> An example:
>
> ((& ("subject" "diamond")
> (! ("subject" "fire[ ]*port")
> ))
> -5)
> (("subject" "fire[ ]*port")
> 10)
The default scoring type is `s' (substring). Add an `r' to the
expression to get regexp matching.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
prev parent reply other threads:[~1998-06-24 4:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-17 12:02 Kees de Bruin
1998-06-24 4:30 ` Lars Magne Ingebrigtsen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3wwa75sl9.fsf@sparky.gnus.org \
--to=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).