unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-pretest-bug@gnu.org>
Subject: bug#3001: 23.0.92; doc for regexp construct (?:
Date: Tue, 14 Apr 2009 23:41:48 -0700	[thread overview]
Message-ID: <006801c9bd95$41e3e180$0200a8c0@us.oracle.com> (raw)

Emacs calls regexp groups that use the grouping construct "(?:" "shy
groups".  I don't get the impression that that is a common term for
this construct, outside Emacs.  Googling "shy group" shows only Emacs
hits.  Googling and searching for regexp groups shows that terms such
as "non-capturing group" and "unnumbered group" are more typically
used for "(?:".
 
And the Emacs doc for "(?:" even explains it as an unnumbered group.
It doesn't explain or hint at the meaning of "shy" at all.  This seems
like a poor choice of words.
 
"Shy" might already have become the Emacs "traditional" terminology,
so that it can't easily be replaced (some people will look for it).
But at least some explanation of the use of the word "shy" is in
order, if only for mnemonic purposes.  What were you thinking? ;-)
(Perhaps it is translated from some other language, where it has more
than one meaning?)
 
More importantly, this construct does not appear to be indexed in the
manual.  It should be indexed under "(: in regexp", as well as under
"regexp non-capturing group" and "regexp unnumbered group" - and of
course "regexp shy group", if that term is kept.
 
 
 
In GNU Emacs 23.0.92.1 (i386-mingw-nt5.1.2600)
 of 2009-03-30 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
 







             reply	other threads:[~2009-04-15  6:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87d4bdbmxb.fsf@cyd.mit.edu>
2009-04-15  6:41 ` Drew Adams [this message]
2009-04-15 13:32   ` bug#3001: 23.0.92; doc for regexp construct (?: Stefan Monnier
2009-04-15 14:45     ` Andreas Schwab
2009-04-15 14:57   ` Stefan Monnier
2009-04-15 15:41     ` Drew Adams
2009-04-15 22:00   ` bug#3001: marked as done (23.0.92; doc for regexp construct (?:) Emacs bug Tracking System

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='006801c9bd95$41e3e180$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=3001@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).