From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: xfq Newsgroups: gmane.emacs.help Subject: Re: About regexp Date: Mon, 26 Nov 2012 15:50:48 +0800 Message-ID: <50B31F58.5030803@gmail.com> References: <50B1DBEF.2040906@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353916274 28797 80.91.229.3 (26 Nov 2012 07:51:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Nov 2012 07:51:14 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 26 08:51:26 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TctTS-0006PF-9z for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Nov 2012 08:51:26 +0100 Original-Received: from localhost ([::1]:55966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TctTH-0007qS-D6 for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Nov 2012 02:51:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TctT9-0007qA-4t for help-gnu-emacs@gnu.org; Mon, 26 Nov 2012 02:51:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TctT5-0002Py-1G for help-gnu-emacs@gnu.org; Mon, 26 Nov 2012 02:51:07 -0500 Original-Received: from mail-da0-f41.google.com ([209.85.210.41]:61126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TctT4-0002Pm-PD for help-gnu-emacs@gnu.org; Mon, 26 Nov 2012 02:51:02 -0500 Original-Received: by mail-da0-f41.google.com with SMTP id e20so3507400dak.0 for ; Sun, 25 Nov 2012 23:51:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=OqbcU5eH+0CKYvOS0WBHQb9K/nBtTTxdC9l8szSi+q4=; b=XIPx/VSUCEYfTPx3kK5bVc5OBW25Yf4EeZh/1nSqN0A6GR2TfQObmY9Pxa5dHq6jLa TrSTM0CHMHSorLJtZsBfminT3q5EW5aDoljqsCGJ3WDgeOG3mrRA6/2fuF1tt8AgwhRA VstBC77EXcMk3BjIexqNXzSNTHqg8+SZcftnHYHwMNkZLQFmXtmCku7zyPhz059PVVdi y6BFRo2Jpk9iWKswLx7UVNy+YpxVXH5Daain9CPzmVjtaemSR/OoOdwZs6f6Il30ONfJ jLRJ6wnG2yyslsIWio/iI0KmF78/b3RE51jGQUzuqgy8spXggE8a7WqcDTbeARDfFaKk 7sVg== Original-Received: by 10.68.231.69 with SMTP id te5mr34823420pbc.81.1353916261946; Sun, 25 Nov 2012 23:51:01 -0800 (PST) Original-Received: from [10.10.10.28] ([101.78.211.51]) by mx.google.com with ESMTPS id vk5sm8351767pbc.34.2012.11.25.23.50.59 (version=SSLv3 cipher=OTHER); Sun, 25 Nov 2012 23:51:01 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.210.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87902 Archived-At: On 11/25/2012 11:41 PM, Drew Adams wrote: >> The default value of the variable `sentence-end-base' is: >> [.?!][]\"'")}]* >> There is a backslash in the second part of the regexp, why? > > C-h v sentence-end-base tells you: > > sentence-end-base is a variable defined in `paragraphs.el'. > Its value is "[.?!][]\"'")}]*" > > IOW, the value is a string. The double-quote chars shown surrounding the string > are not characters in the string. The double-quote char shown just before the > single-quote char, ', is in the string. When printed, that char is escaped with > a backslash. The char in the string following the ' char is a different char (a > curly quote) - it is not used to indicate the string limits, so it need not be > escaped to distinguish it. > Thx. BTW, I like your bookark+/ediff+/Icicles/lacarte very much.