* bug#32430: 26; Elisp manual: Please consider indexing each char class
@ 2018-08-13 16:45 Drew Adams
2019-07-13 2:56 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2018-08-13 16:45 UTC (permalink / raw)
To: 32430
I wanted to go to the Elisp manual section that specifies char-class
[:blank:]. I tried `i blank', even with substring matching. Not
recalling that such critters are called "character classes" I just used
`i regexp' (with substring matching) to find entry "character classes in
regexp".
So not a big problem (assuming you have substring matching). But I
think it would be helpful to add entries such as these (which don't
require substring matching):
ascii character class, regexp
alnum character class, regexp
alpha character class, regexp
blank character class, regexp
...
(Even better would be to allow :blank: etc. and [:blank:] instead of
just blank etc., but I seem to recall that Info won't allow such entries.)
In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32)
of 2018-05-30
Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea
Windowing system distributor `Microsoft Corp.', version 10.0.16299
Configured using:
`configure --without-dbus --host=x86_64-w64-mingw32
--without-compress-install 'CFLAGS=-O2 -static -g3''
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#32430: 26; Elisp manual: Please consider indexing each char class
2018-08-13 16:45 bug#32430: 26; Elisp manual: Please consider indexing each char class Drew Adams
@ 2019-07-13 2:56 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-13 2:56 UTC (permalink / raw)
To: Drew Adams; +Cc: 32430
Drew Adams <drew.adams@oracle.com> writes:
> I wanted to go to the Elisp manual section that specifies char-class
> [:blank:]. I tried `i blank', even with substring matching. Not
> recalling that such critters are called "character classes" I just used
> `i regexp' (with substring matching) to find entry "character classes in
> regexp".
>
> So not a big problem (assuming you have substring matching). But I
> think it would be helpful to add entries such as these (which don't
> require substring matching):
>
> ascii character class, regexp
> alnum character class, regexp
> alpha character class, regexp
> blank character class, regexp
Makes sense. I've now added some of the more interesting classes, but
not the entire list of classes.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-07-13 2:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-13 16:45 bug#32430: 26; Elisp manual: Please consider indexing each char class Drew Adams
2019-07-13 2:56 ` Lars Ingebrigtsen
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.