shin@sgtp.apple.juice.or.jp (Shinichirou Sugou) (12/30/89)
Hello.
The following two functions both succeed.
(re-search-backward "\\`^")
(re-search-backward "^\\`")
In the combination of "\\'" and "$",
(re-search-forward "\\'$")
succeeds, but
(re-search-forward "$\\'")
fails.
I think this feature being unnatural since it is not symmetric.
[Proposal]
(1) It seems that beginning-of-buffer/end-of-buffer points far away than
beginning-of-line/end-of-line. So, following two functions must succeed
(re-search-backward "\\`^")
(re-search-forward "$\\'")
while following fail.
(re-search-backward "^\\`")
(re-search-forward "\\'$")
(2) Or, every function must succeed.
(re-search-backward "\\`^")
(re-search-backward "^\\`")
(re-search-forward "$\\'")
(re-search-forward "\\'$")
Thank you.
CAUTION: (1) Reply-command in the mail system may NOT generate my address
correctly. Please use the following address instead.
shin%sgtp.apple.juice.or.jp@uunet.uu.net
(2) I have no relation to Apple Computer Inc. :-)
---
S.Sugou