From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: help about regexp Date: Wed, 29 Aug 2007 11:07:56 +0200 Message-ID: References: NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1188378578 5866 80.91.229.10 (29 Aug 2007 09:09:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2007 09:09:38 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: sunway Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 29 11:14:08 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1IQJcl-0000RO-Iq for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Aug 2007 11:14:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQJYJ-00081O-Bq for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Aug 2007 05:09:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IQJWt-0006tC-Jk for help-gnu-emacs@gnu.org; Wed, 29 Aug 2007 05:08:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IQJWr-0006r9-MQ for help-gnu-emacs@gnu.org; Wed, 29 Aug 2007 05:08:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQJWr-0006qp-Hw for help-gnu-emacs@gnu.org; Wed, 29 Aug 2007 05:08:01 -0400 Original-Received: from fmmailgate02.web.de ([217.72.192.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IQJWr-0006rc-4u for help-gnu-emacs@gnu.org; Wed, 29 Aug 2007 05:08:01 -0400 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id C6A18977E2B0; Wed, 29 Aug 2007 11:07:59 +0200 (CEST) Original-Received: from [62.134.228.1] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #197) id 1IQJWo-0001RY-00; Wed, 29 Aug 2007 11:07:58 +0200 In-Reply-To: X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX19PkvjzrUn8t25zDn90TtE7Rmo50BvHEm3cM4Il nlgl+4cOJDTKSJFslxlQC4MjxzgsafQDo+YNrGkP3YUCpJjTOn 5DJYRBCiX8A2gg76ULRw== X-Detected-Kernel: Linux 2.4-2.6 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: news.gmane.org gmane.emacs.help:46907 Archived-At: Am 29.08.2007 um 04:15 schrieb sunway: > i want to use regexp to match .*\*$ but not match .*shell\*$ > how to write the regexp? Not in that general form. This is too "greedy." If there were a =20 particular pattern before ``shell=B4=B4 it might work. -- Greetings Pete (: _ / __ - - _/ \__/_/ - - (=B4`) (=B4`) - - `=B4 `=B4