From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: nbsp and /italics/ Date: Thu, 18 Oct 2012 13:35:15 +0200 Message-ID: <20121018113515.GB16407@kuru.dyndns-at-home.com> References: <87k3uqcgyn.fsf@pank.iue.private> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOoNw-0005Ht-DH for emacs-orgmode@gnu.org; Thu, 18 Oct 2012 07:35:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TOoNs-0006n7-92 for emacs-orgmode@gnu.org; Thu, 18 Oct 2012 07:35:32 -0400 Received: from mail-wg0-f41.google.com ([74.125.82.41]:39165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TOoNs-0006n3-29 for emacs-orgmode@gnu.org; Thu, 18 Oct 2012 07:35:28 -0400 Received: by mail-wg0-f41.google.com with SMTP id ds1so918361wgb.0 for ; Thu, 18 Oct 2012 04:35:27 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87k3uqcgyn.fsf@pank.iue.private> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Tue, Oct 16, 2012 at 10:14:24PM +0200, Rasmus wrote: > Can anyone think of a clever regexp that recognizes the above pattern? > I tried, "\\.[ ]\{1\}" but it didn't work. And without the \{1\} it's > too strong. . . > I believe you need to group the whole regexp for the {1} to work. Try something like this: "\\(\\. \\)\\{1\\}" -- Suvayu Open source is the future. It sets us free.