From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Newsgroups: gmane.emacs.help Subject: Re: regexp question: match anything but not a group? Date: Fri, 04 Apr 2014 11:37:04 +0200 Message-ID: <533E7D40.4000701@easy-emacs.de> References: <87zjk4louc.fsf@gmail.com> <533BA65E.3030408@easy-emacs.de> <874n2ai4ta.fsf@gmail.com> <87ha69qxdj.fsf@hornfels.zedat.fu-berlin.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1396603967 20874 80.91.229.3 (4 Apr 2014 09:32:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Apr 2014 09:32:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 04 11:32:42 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 1WW0UL-0008N0-QF for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Apr 2014 11:32:41 +0200 Original-Received: from localhost ([::1]:48649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WW0UL-0000cu-Bb for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Apr 2014 05:32:41 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WW0U3-0000VV-JZ for help-gnu-emacs@gnu.org; Fri, 04 Apr 2014 05:32:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WW0Ty-0004R0-M7 for help-gnu-emacs@gnu.org; Fri, 04 Apr 2014 05:32:23 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.130]:60949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WW0Ty-0004ON-Dq for help-gnu-emacs@gnu.org; Fri, 04 Apr 2014 05:32:18 -0400 Original-Received: from purzel.sitgens (brln-4dba7fd5.pool.mediaWays.net [77.186.127.213]) by mrelayeu.kundenserver.de (node=mreue003) with ESMTP (Nemesis) id 0LaHU2-1WseG11qSU-00m0uJ; Fri, 04 Apr 2014 11:32:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <87ha69qxdj.fsf@hornfels.zedat.fu-berlin.de> X-Provags-ID: V02:K0:c662YwnxthBYjd0QqM30TotpIyx7XQRND/qkW0hZej3 kHc0MOkrgBFDduTRLApAVM4QG7X96TR8Bcj5b0e1/xDGTu/NPq YHOLFmSmAOwK1xr6kTKDRg3D6poBDsQFPSFzZjVgxDvXCN3XJl PGDKInME9U5Ad/dWlBrM7wVgp5+rrtIJ08jBBXHo4TdFCgNP6A RavwqEvY4vkQs7RDIqCOpJleTxnSXJJY/AhKrsaYGpN1KCUtiZ Momia/jBV5KG8Axpi0VRYWup6F1YpQlNCkGtdWAPU418cHF6MF KITCAxtvnub36Fks3pE3uyrjGRaw/RLRqKzlepEXdinr4rSbDI tILBG6gG06fhAcYXAjQYb3VxnI8+ba7uOTlTxoj8C X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.126.130 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:96971 Archived-At: Am 04.04.2014 11:04, schrieb Loris Bennett: > Thorsten Jolitz writes: > >> Stefan Monnier writes: >> >>>> But it still seems valid to protect against greedyness? >>> ^^^^^^^^^^ >>> AKA greed, >> >> I just made it up, but funny enough - it does actually exist (with >> slightly different spelling)! >> >> >From http://www.collinsdictionary.com/dictionary/english/greediness: >> >> ,------------------------------------------------------------------- >> | greediness (ˈɡriːdɪnɪs) >> | >> | Definitions >> | >> | noun >> | >> | 1. the quality of being greedy >> | >> | greedy (ˈɡriːdɪ Pronunciation for greedy ) >> | >> | Definitions >> | >> | adjective >> | >> | Word forms: greedier, greediest >> | >> | 1. excessively desirous of food or wealth, esp in large amounts; >> | voracious >> | 2. (postpositive) foll by for eager (for) ⇒ `a man greedy for >> | success' >> | >> | Derived Forms >> | >> | ˈgreedily adverb >> | ˈgreediness noun >> | >> | Word Origin >> | >> | Old English grǣdig; related to Old Norse grāthugr, Gothic grēdags >> | hungry, Old High German grātac >> | >> | Example Sentences Including 'greediness' >> | >> | At times his greediness got the better of him but he never let >> | his enthusiasm go off the boil. >> | >> | Sun, News of the World (2004) >> | >> | Broilers consume lots more feed-there's a good chance that >> | greediness has been inadvertently selected for. >> | >> | New Scientist (1998) >> | >> | Mr Carman asked him if he had a `streak of greediness " in him >> | for money, expensive cars and Rolex watches. >> | >> | Sun, News of the World (1999) >> | >> | Thus individuals who do experience strong pulls of greediness >> | often go to desperate measures to hide their behaviour. >> | >> | Knowles, Jane Know Your Own Mind >> `------------------------------------------------------------------- > > If I were you, Thorsten, I wouldn't rely on "The Sun and "NOTW" for > particularly nuanced usage of the English language, even if Collins does > quote them. "New Scientist" is in a different category, but I think > "greed" would be much better in the example given for the following > reason: > > I would say that "greed" is traditionally "a deadly sin", i.e. a moral > failing, whereas "greediness" is a (normally) non-fatal display of > overindulgence. Bankers may be reviled for their greed, but > sticky-faced children told off for their greediness. > > In "Mastering Regular Expressions", Friedl refers to the "greediness" > aspect of regular expressions, which, given the lack of a moral context, > seems to me the appropriate choice. > > Cheers, > > Loris > "greediness" sounds a little bit wrapped, sorted, objective - while "greed" evokes the living beast. :)