From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/34866 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: searching multiple groups from the Group buffer Date: 20 Feb 2001 06:53:20 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87wvapgh4b.church.of.emacs@meta.verbum.org> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035170709 32502 80.91.224.250 (21 Oct 2002 03:25:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:25:09 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id A4998D049E for ; Tue, 20 Feb 2001 09:53:55 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id IAC14551; Tue, 20 Feb 2001 08:53:50 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 20 Feb 2001 08:53:11 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id IAA19445 for ; Tue, 20 Feb 2001 08:53:00 -0600 (CST) Original-Received: from mail.networkone.net (mail.networkone.net [209.144.112.246]) by mailhost.sclp.com (Postfix) with SMTP id 97DBBD049E for ; Tue, 20 Feb 2001 09:53:29 -0500 (EST) Original-Received: (qmail 9206 invoked from network); 20 Feb 2001 14:53:25 -0000 Original-Received: from unknown (HELO reader.local.lan) (209.144.117.151) by mail.networkone.net with SMTP; 20 Feb 2001 14:53:25 -0000 Original-Received: (from reader@localhost) by reader.local.lan (8.11.0/8.11.0) id f1KErKM09291; Tue, 20 Feb 2001 06:53:20 -0800 X-Authentication-Warning: reader.local.lan: reader set sender to reader@newsguy.com using -f Original-To: ding@gnus.org In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "20 Feb 2001 10:40:01 +0100") User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 45 Xref: main.gmane.org gmane.emacs.gnus.general:34866 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:34866 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > > None of the currently supported search engines for nnir.el support > > real regexp, far as I know. ( Is that correct Kai?) Glimpse comes > > closest, but doesn't allow full regexp either. > > I thought Glimpse did support full regexes. But I might be wrong. >>From `man glimpse' [...] . . . . . Regular expressions are currently limited to approximately 30 characters (generally excluding meta characters). Some options (-d, -w, -t, -x, -D, -I, -S) do not currently work with regular expressions. The maximal number of errors for reg­ ular expressions that use '*' or '|' is 4. (See LIMITATIONS.) [...] The regexp `From:.*(Kai\.Gross|Kleinp|ShengHuo)' $ glimpse-m -F ding3 'From:.*(Kai\.Gross|Kleinp|ShengHuo)' glimpse: regular expression too long glimpse: error in options or arguments to `agrep' By Shortening ShengHuo to ShengH, it will work but this gives an idea of a major limitation. Regexp can become quite long very easily. This is one of the easiest to run into but there are more. Regexp can't be used with the boolean operators at all.. like ; (and). One place where a regexp would be handy is with the -d operator, used to set a record separater. Its set to newline by default. [...] -d 'delim' Define delim to be the separator between two records. The default value is '$', namely a record is by default a line. delim can be a string of size at most 8 (with possible use of ^ and $), but not a regular expression. Text between two .... [...]