Gnus development mailing list
 help / color / mirror / Atom feed
* Regular expressions in advanced scoring rules
@ 1998-06-17 12:02 Kees de Bruin
  1998-06-24  4:30 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Kees de Bruin @ 1998-06-17 12:02 UTC (permalink / raw)


Hi,

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)

Kind regards,

-- 
Kees de Bruin                                             Software Engineer
---------------------------------------------------------------------------
E-mail:  kees_de_bruin@tasking.com                      Tasking Software BV
Voice:   +31-33-455 85 84                               Plotterweg 31
Fax:     +31-33-455 00 03                               3821 BB  Amersfoort
WWW:     http://www.tasking.com                         The Netherlands
---------[ The Borg assimilated me and all I got was this T-Shirt ]--------


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Regular expressions in advanced scoring rules
  1998-06-17 12:02 Regular expressions in advanced scoring rules Kees de Bruin
@ 1998-06-24  4:30 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-06-24  4:30 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-06-24  4:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-06-17 12:02 Regular expressions in advanced scoring rules Kees de Bruin
1998-06-24  4:30 ` Lars Magne Ingebrigtsen

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).