[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#3001: 23.0.92; doc for regexp construct (?:
From: |
Stefan Monnier |
Subject: |
bug#3001: 23.0.92; doc for regexp construct (?: |
Date: |
Wed, 15 Apr 2009 10:57:02 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) |
> But at least some explanation of the use of the word "shy" is in
> order, if only for mnemonic purposes. What were you thinking? ;-)
I really don't know what I was thinking, sorry, nor what "they"
were thinking. I could guess at an rationalisation; e.g. "yo' mama's
so shy she doesn't even dare to get a number".
> (Perhaps it is translated from some other language, where it has more
> than one meaning?)
My attempt of humor is indeed translated from an unknown language where
it sounds even less funny.
> 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.
It is indexed under "shy group, in regexp". I don't know if chars like
"(?:" can be used in a Texinfo index without first sacrificing a few
virgins. I'm not sure if it's likely that someone will look for
"non-capturing" or "unnumbered" groups (i.e. would someone look for the
syntax to use for that feature, rather than look for the feature
associated to that syntax?).
Stefan