unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#71879: 30.0.60; Docstring error in NOERROR argument part of re-search-forward
@ 2024-07-01 16:13 Gerard Vermeulen
  2024-07-01 17:30 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: Gerard Vermeulen @ 2024-07-01 16:13 UTC (permalink / raw)
  To: 71879

Hello,

The last "if" clause in the NOERROR part of the re-search-forward 
docstring
is wrong.

It reads "if it is neither nil nor t, move to the limit of search and 
return nil."

but if NOERROR equals neither nil nor t re-search-forward returns the 
start
position of the match (when found) or nil (when no match found).

See for instance: (info "(Eintr) the-the")

By the way: using the-the finds a duplication "is is" in the NEWS file 
but I
am unsure whether this merits a bug report.

Regards -- Gerard









^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-13 10:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-01 16:13 bug#71879: 30.0.60; Docstring error in NOERROR argument part of re-search-forward Gerard Vermeulen
2024-07-01 17:30 ` Eli Zaretskii
2024-07-01 17:48   ` Gerard Vermeulen
2024-07-13 10:23     ` Eli Zaretskii

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).