GNU bug report logs -
#41006
26.3; regular expressions documentation
Previous Next
Reported by: jan <rtm443x <at> googlemail.com>
Date: Fri, 1 May 2020 19:07:01 UTC
Severity: wishlist
Found in version 26.3
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #62 received at 41006 <at> debbugs.gnu.org (full text, mbox):
Richard Stallman <rms <at> gnu.org>writes:
> What I see in master is this structure.
> Is this different from what you saw?
> Does this structure eliminate the problem you had?
I'm also looking at master. Let me be more specific.
> @menu
> * Syntax of Regexps:: Rules for writing regular expressions.
> * Regexp Example:: Illustrates regular expression syntax.
> @ifnottex
> * Rx Notation:: An alternative, structured regexp notation.
> @end ifnottex
> * Regexp Functions:: Functions for operating on regular expressions.
> @end menu
The above is the problem, for me: it does not include "Regexp Search".
This is where I find any function to actually use the regexps I learn
to construct here.
If I go up one node, to (elisp) Searching and Matching, I can see:
* Regular Expressions:: Describing classes of strings.
* Regexp Search:: Searching for a match for a regexp.
So I suggest to move "Regexp Search" so that it is a section under
"Regular Expressions" (instead of parallel to it). Maybe conceptually
this is not as clean, but it is more pedagogical and user-friendly,
IMHO.
I would also suggest to place "Regexp Search" first, even before
"Syntax of Regexps", but this is just my personal preference and less
important. It should at least, from my point of view, come before "Rx
Notation".
While we're at it, I also think "Regexp Search" could state, at the
top, how to access match data. This is a bit hard to find, IME.
Best regards,
Stefan Kangas
This bug report was last modified 3 years and 25 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.