[Top][All Lists]

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

Regexps info page. Clarification on \' and \`, please!

From: Alan Mackenzie
Subject: Regexps info page. Clarification on \' and \`, please!
Date: 9 Nov 2001 13:15:07 +0100
Date: Fri, 9 Nov 2001 12:14:45 +0000
User-agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686))

"Regexps" page in the Emacs v21 manual.  [Probably the corresponding page
in the elisp manual, too.]

In this page it says:

:     matches the empty string, but only at the end of the buffer or
:     string being matched against.

I believe that something like the following should be appended:
"If narrowing is in effect, it matches at the end of the accessible
portion of the buffer."

I think it would also be helpful if it was mentioned (at least, in the
elisp manual) that reaching the limit in functions such as
(search-forward-regexp re limit) doesn't count as "at the end of the

[Corresponding remarks also apply to the description of \`.]

Alan Mackenzie (Munich, Germany)
Email: address@hidden; to decode, wherever there is a repeated letter
(like "aa"), remove one of them (leaving, say, "a").

reply via email to

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