# HG changeset patch # User Luc Teirlinck # Date 1141869320 0 # Node ID 3b476a22dc6a203d82cfeb15871f9bc811fdd5c9 # Parent 55665aaac72bb3986b23993942506484ea1ba852 (Regexp Special): Put remark between parentheses to avoid misreading. diff -r 55665aaac72b -r 3b476a22dc6a lispref/searching.texi --- 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