From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18578 Path: news.gmane.org!.POSTED!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.user Subject: Using `all.SCORE' @ ~/News/all.SCORE [regex syntax] Date: Sat, 27 May 2017 10:58:02 -0400 Organization: Still searching... Message-ID: <8660gmgxdx.fsf@local.lan> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1495897104 32202 195.159.176.226 (27 May 2017 14:58:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 27 May 2017 14:58:24 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat May 27 16:58:19 2017 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dEdAZ-0008Ad-1e for gegu-info-gnus-english@m.gmane.org; Sat, 27 May 2017 16:58:19 +0200 Original-Received: from localhost ([::1]:41057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEdAb-0001Sf-D9 for gegu-info-gnus-english@m.gmane.org; Sat, 27 May 2017 10:58:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dEdAY-0001Sa-Ax for info-gnus-english@gnu.org; Sat, 27 May 2017 10:58:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dEdAT-0006LK-FR for info-gnus-english@gnu.org; Sat, 27 May 2017 10:58:18 -0400 Original-Received: from [195.159.176.226] (port=54152 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dEdAT-0006Ky-9e for info-gnus-english@gnu.org; Sat, 27 May 2017 10:58:13 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dEdAI-0007v4-TR for info-gnus-english@gnu.org; Sat, 27 May 2017 16:58:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 43 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:OcY5p5pVvSlS1uBPlUN/gYYIpns= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: "info-gnus-english" Xref: news.gmane.org gmane.emacs.gnus.user:18578 Archived-At: all.SCORE: ((mark -100) ("from" ("nikolys@gmail" -101 nil r) ("sina\.com" -101 nil r) ("@aol\\.com" -101 nil r) ("@[0-9]+\\.com>" -101 nil r) ("harry504@gmail" -101 nil r) ("s[ea]l[el]\\|discount\\|free\\|wholesale\\|paypal" -101 nil r)) ("subject" ("~~" -101 nil r) ("~~\\|>>>\\|\\[A-Z\\]\\{4\\}" -101 nil r) ("!!\\|free\\|discount\\|wholesale" -101 nil r))) I've forgotten how that was generated but would like to hand edit it. You can see the term `free' in two places... in the last `from' element and the last `subject' element. I want the `free' at the last `from' element to be more restrictive as it is hitting quite a few false positives due to network name with various combinations of free with a dot like: `free.', `.free' and `.free.' This is happening in groups with thousands and thousands of messages so I don't want to get it wrong... not sure how to re-run it. So something like (please ignore the elisions (`[...]')): [...] |[^\.]free[^\.]\\|[...] But does it need the double slashes like: [...] |\\[^\.\\]free\\[^\.\\] [...] ^^ ^^ ^^ Will that even accomplish what I am after; to allow `free' in any combination of: `.free', `free.' or `.free.' to not be down scored? Is there a handy way to test the regex? Is there a handy way to rerun all those messages thru `all.SCORE'?