[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 09:32:05 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) |
> 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.
IIRC I did not invent the term, instead I took it from Perl. But I must
admit that I cannot find that term in "man perlre", so I'm not sure
where precisely I found it. It's just the name had'd heard used to
describe this feature of Perl. Maybe XEmacs's use of the term was an
influence as well.
> Googling "shy group" shows only Emacs hits.
Indeed, it does, yet
http://en.wikipedia.org/wiki/Comparison_of_regular_expression_engines
has "shy groups" in its chart. Indeed googling « "shy groups" perl »
should more than 500 hits, whereas « "shy groups" emacs » shows less
than 200.
Stefan