help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Irritation about re-search-backward


From: Marco Wahl
Subject: Irritation about re-search-backward
Date: Thu, 24 May 2018 15:42:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Hi,

with "|" marking point and the following buffer

#v+
aaaaaaaaaaaa|
#v-

M-: (re-search-backward "a*")

does not change point.

Shouldn't point have been moved to the beginning of the line?

BTW

#v+
|aaaaaaaaaaaa
#v-

M-: (re-search-forward "a*")

moves point to the end of the line.


Any hint would be nice, thanks,
                               Marco






reply via email to

[Prev in Thread] Current Thread [Next in Thread]