From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: swbuff & regular expressions question Date: Sun, 26 Dec 2004 22:55:21 +0100 Message-ID: <86r7lc3et2.fsf@ketchup.de.uu.net> References: <1103845115.682240.84780@c13g2000cwb.googlegroups.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1104098519 16166 80.91.229.6 (26 Dec 2004 22:01:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 26 Dec 2004 22:01:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 26 23:01:54 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CigSY-0006eG-00 for ; Sun, 26 Dec 2004 23:01:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CigdJ-0007Ha-T8 for geh-help-gnu-emacs@m.gmane.org; Sun, 26 Dec 2004 17:13:01 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Cigd2-0007Gc-O2 for help-gnu-emacs@gnu.org; Sun, 26 Dec 2004 17:12:44 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Cigd1-0007Fo-80 for help-gnu-emacs@gnu.org; Sun, 26 Dec 2004 17:12:43 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Cigd1-0007FL-2X for help-gnu-emacs@gnu.org; Sun, 26 Dec 2004 17:12:43 -0500 Original-Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CigRm-0007LB-SP for help-gnu-emacs@gnu.org; Sun, 26 Dec 2004 17:01:07 -0500 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CigRl-0002BM-00 for ; Sun, 26 Dec 2004 23:01:05 +0100 Original-Received: from pd951f642.dip.t-dialin.net ([217.81.246.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Dec 2004 23:01:05 +0100 Original-Received: from kai by pd951f642.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 Dec 2004 23:01:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 15 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd951f642.dip.t-dialin.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:/ZNmwDzkxJiG13+rj423J17NXxo= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22986 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22986 "Dreamer" writes: > can someone write me the regular expression that will filter all > *something* but except *Man something*??? What should the regexp match? List the positive cases: *, then up to four characters, then * *, then a character that isn't M, then anything, then * *M, then a character that isn't a, then anything, then * *Ma, then a character that isn't n, then anything, then * I think you can complete the list yourself. Kai