Mercurial > emacs
changeset 69338:3b476a22dc6a
(Regexp Special): Put remark between parentheses to avoid misreading.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Thu, 09 Mar 2006 01:55:20 +0000 |
parents | 55665aaac72b |
children | 4ad8f50b69f2 |
files | lispref/searching.texi |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/searching.texi Wed Mar 08 14:27:20 2006 +0000 +++ b/lispref/searching.texi Thu Mar 09 01:55:20 2006 +0000 @@ -485,9 +485,9 @@ @samp{[} and @samp{]}. In such situations, it sometimes may be necessary to carefully parse the regexp from the start to determine which square brackets enclose a character alternative. For example, -@code{[^][]]}, consists of the complemented character alternative -@code{[^][]}, which matches any single character that is not a square -bracket, followed by a literal @samp{]}. +@code{[^][]]} consists of the complemented character alternative +@code{[^][]} (which matches any single character that is not a square +bracket), followed by a literal @samp{]}. The exact rules are that at the beginning of a regexp, @samp{[} is special and @samp{]} not. This lasts until the first unquoted