all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Thorsten Jolitz <tjolitz@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: regexp question: match anything but not a group?
Date: Fri, 04 Apr 2014 12:40:35 +0200	[thread overview]
Message-ID: <87bnwhpecc.fsf@gmail.com> (raw)
In-Reply-To: 87ha69qxdj.fsf@hornfels.zedat.fu-berlin.de

"Loris Bennett" <loris.bennett@fu-berlin.de> writes:

> Thorsten Jolitz <tjolitz@gmail.com> writes:
>
>> Stefan Monnier <monnier@iro.umontreal.ca> 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.

At least nuanced usage of the English language is still a topic. Here in
Germany we are almost back to Martin Luthers free-style phonetic
spelling after decades of so called 'language reforms' ;)

-- 
cheers,
Thorsten




  parent reply	other threads:[~2014-04-04 10:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-01 21:30 regexp question: match anything but not a group? Thorsten Jolitz
2014-04-01 23:24 ` Pascal J. Bourguignon
2014-04-03 19:48   ` Thorsten Jolitz
     [not found]   ` <mailman.18864.1396554426.10748.help-gnu-emacs@gnu.org>
2014-04-03 20:24     ` Pascal J. Bourguignon
2014-04-03 21:36       ` Thorsten Jolitz
2014-04-02  5:55 ` Andreas Röhler
2014-04-03 19:36   ` Thorsten Jolitz
2014-04-03 22:19     ` Stefan Monnier
2014-04-04  8:39       ` Thorsten Jolitz
     [not found]       ` <mailman.18896.1396600696.10748.help-gnu-emacs@gnu.org>
2014-04-04  9:04         ` Loris Bennett
2014-04-04  9:37           ` Andreas Röhler
2014-04-04 10:40           ` Thorsten Jolitz [this message]
2014-04-04 14:11             ` Andreas Röhler
2014-04-04  6:37     ` Andreas Röhler
2014-04-04  8:53       ` Thorsten Jolitz
2014-04-02  7:21 ` Thorsten Jolitz
2014-04-02  8:07 ` Andreas Röhler
2014-04-03 10:50   ` Thorsten Jolitz
2014-04-03 23:46     ` Bob Proulx
2014-04-04  8:43       ` Thorsten Jolitz
2014-04-03 14:37   ` Stefan Monnier
2014-04-03 19:32     ` Thorsten Jolitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bnwhpecc.fsf@gmail.com \
    --to=tjolitz@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.