From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gebser@ameritech.net Newsgroups: gmane.emacs.help Subject: regexp for 'sentence-end'?? Date: Mon, 17 Feb 2003 07:26:02 -0500 (EST) Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: Reply-To: gebser@ameritech.net NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1045484716 16751 80.91.224.249 (17 Feb 2003 12:25:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 17 Feb 2003 12:25:16 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18kkKg-0004Lt-00 for ; Mon, 17 Feb 2003 13:25:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18kkMh-0002sU-03 for gnu-help-gnu-emacs@m.gmane.org; Mon, 17 Feb 2003 07:27:19 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18kkLs-0002Kj-00 for help-gnu-emacs@gnu.org; Mon, 17 Feb 2003 07:26:28 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18kkLV-0001vy-00 for help-gnu-emacs@gnu.org; Mon, 17 Feb 2003 07:26:06 -0500 Original-Received: from mailhost2-bcvloh.bcvloh.ameritech.net ([66.73.20.44] helo=mailhost.bcv2.ameritech.net) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18kkLT-0001uc-00 for help-gnu-emacs@gnu.org; Mon, 17 Feb 2003 07:26:04 -0500 Original-Received: from heidegger.mousecar.net ([65.43.210.108]) by mailhost.bcv2.ameritech.net (InterMail vM.4.01.02.17 201-229-119) with ESMTP <20030217122600.EXOG366.mailhost.bcv2.ameritech.net@heidegger.mousecar.net> for ; Mon, 17 Feb 2003 07:26:00 -0500 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6770 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6770 Hello, The standard end-of-sentence variable is defined as: (defcustom sentence-end (purecopy "[.?!][]\"')}]*\\($\\| $\\|\t\\| \\)[ \t\n]*") (sorry for the wrap). Because I do considerable editing of html and similar types of files, I wanted to add to this definition character sequences which have [.?!] followed by either a "<" or ">" and thought that (defcustom sentence-end (purecopy "[.?!][]\<>\"')}]*\\($\\| $\\|\t\\| \\)[ \t\n]*") (sorry again) would do this. After trying this however, it detects both "'>'" and "e.

" as sentence-end (which it shouldn't do, right?) but not "e." immediately before "<" (which it should, yes?). What's the proper syntax? tia, ken