all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: xfq <xfq.free@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: About regexp
Date: Mon, 26 Nov 2012 15:50:48 +0800	[thread overview]
Message-ID: <50B31F58.5030803@gmail.com> (raw)
In-Reply-To: <F32F7B31DBD34FE1963ABADD5C2218EC@us.oracle.com>

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.



      reply	other threads:[~2012-11-26  7:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-25  8:50 About regexp xfq
2012-11-25 15:41 ` Drew Adams
2012-11-26  7:50   ` xfq [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50B31F58.5030803@gmail.com \
    --to=xfq.free@gmail.com \
    --cc=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.