From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: regexp question: match anything but not a group? Date: Wed, 02 Apr 2014 07:55:42 +0200 Message-ID: <533BA65E.3030408@easy-emacs.de> References: <87zjk4louc.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1396522690 2266 80.91.229.3 (3 Apr 2014 10:58:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2014 10:58:10 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 03 12:58:03 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WVeLh-0002ag-43 for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Apr 2014 11:54:17 +0200 Original-Received: from localhost ([::1]:35905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVE50-0002op-RY for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Apr 2014 01:51:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVE4k-0002jG-Lf for help-gnu-emacs@gnu.org; Wed, 02 Apr 2014 01:51:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVE4d-00015G-0Q for help-gnu-emacs@gnu.org; Wed, 02 Apr 2014 01:51:02 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.13]:59463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVE4c-00015B-NZ for help-gnu-emacs@gnu.org; Wed, 02 Apr 2014 01:50:54 -0400 Original-Received: from purzel.sitgens (brln-4d0c11a1.pool.mediaWays.net [77.12.17.161]) by mrelayeu.kundenserver.de (node=mreue103) with ESMTP (Nemesis) id 0MQcnt-1WcgjJ2XnR-00TyVJ; Wed, 02 Apr 2014 07:50:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <87zjk4louc.fsf@gmail.com> X-Provags-ID: V02:K0:gn+aYd2XDmz/F7EhKRVk4Ct5WUfvzE9QxpxKc6ZnB8u iq77q5qDtYJyPoCNBnOFskqPdLTffqh61RxvVED0V0AP+U2nSQ ccQVSvKDWU5gE3umhxoVUQJtQAqnTeR2dImIZAThHIQy1CSYve ooz+GRJrN3+GeeDT7ZdhVisuvDJ/4yHeDXzQc1oFCtIPyMYGIT /YVRcYi1HXmPk8qOCogp7mxCHcchiC7Sgp3pEoKG7RHsUAkKyQ xpqGIOxGOMF3DQfehPaUVT5g+1Agbdjaarx3WA0LGF5oWRpYdk PQUkBtbY7AoUDHCjR4mC0gPRi3iukmIh0ZbvLG6aGynajJ4FCw aW1pXxrORIO4aXsb8vVJ5691dckH0e+CzOm8oNjWK X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.17.13 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96914 Archived-At: Am 01.04.2014 23:30, schrieb Thorsten Jolitz: > > Hi List, > > how can I write a regexp that acts like e.g. > > ,------ > | ".*?" > `------ > BTW looks wrong. .* might much nothing, if non-greedy it remains nothing (?)