GNU bug report logs - #66406
Broken `re-search-forward' (?)

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Sun, 8 Oct 2023 10:37:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: 66406 <at> debbugs.gnu.org
Subject: bug#66406: Broken `re-search-forward' (?)
Date: Sun, 8 Oct 2023 12:35:47 +0200
[Message part 1 (text/plain, inline)]
In a recent Emacs master (as provided in Silex's Docker image):

$ emacs --batch --eval "(with-temp-buffer (insert
\"\n;;;###autoload\n(defun ...)\n\") (goto-char 1) (print
(re-search-forward \"^[[:space:]]*;;;###autoload[[:space:]]*$\" nil t)))"

Prints nil.

With every stable version of Emacs I have this prints 16.

Paul
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 223 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.