From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.help Subject: Re: Help with regexp Date: Wed, 2 Dec 2009 17:05:01 +0100 Message-ID: References: <87y6lmtnbx.fsf@galatea.local> <20091202051626.GA19970@tomas> <87vdgpbtlp.fsf@ergodik.univ-brest.fr> <87ocmhtsd2.fsf@fh-trier.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1259778403 9674 80.91.229.12 (2 Dec 2009 18:26:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Dec 2009 18:26:43 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Andreas Politz Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 02 19:26:36 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NFtuF-00073V-Fz for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Dec 2009 19:26:27 +0100 Original-Received: from localhost ([127.0.0.1]:40026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFtuE-0002r8-Py for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Dec 2009 13:26:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFrho-0002lC-Ej for help-gnu-emacs@gnu.org; Wed, 02 Dec 2009 11:05:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFrhi-0002j4-HM for help-gnu-emacs@gnu.org; Wed, 02 Dec 2009 11:05:26 -0500 Original-Received: from [199.232.76.173] (port=58851 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFrhi-0002j1-8H for help-gnu-emacs@gnu.org; Wed, 02 Dec 2009 11:05:22 -0500 Original-Received: from mail-yw0-f172.google.com ([209.85.211.172]:43605) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NFrhh-0000Ie-Nn for help-gnu-emacs@gnu.org; Wed, 02 Dec 2009 11:05:21 -0500 Original-Received: by ywh2 with SMTP id 2so315121ywh.27 for ; Wed, 02 Dec 2009 08:05:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=aoaiBQRTM+gM4CQ9ms08GcdPXGHHz3vYu9ueVFzz1p4=; b=bBMkP8ePeuCAEL+xuD446RKgjgAQ3MlumP6MTeeEborn9X9s1fCuOZiW0ozSQpkPK5 3urgHwEz/JlzfufPyzueMLKQ/30GjFH6h9cARlRTng+LH2A4j3M29j2qFaUqkSA86+yz ZuX8j/9IUJ80Xd+Nk7kpdr68UtI1DQmDfx2tY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=iSvc3JBO5GxR0782RafkpjuCXtRrkIOMa+3y9UR3eU+WQ65BhzIXTA1+0iNAF+NUXX Or/uliPCRQ3q5cwhm0n9kk0Oi4bdI0F0mJ6OVv/vq6Em9asLNLZBl6z/OoVuABJKkGVc f2ZWrRNRHUxl4xBn4+4uzdt/UgaARXCeDZWlU= Original-Received: by 10.101.166.2 with SMTP id t2mr220394ano.9.1259769921137; Wed, 02 Dec 2009 08:05:21 -0800 (PST) In-Reply-To: <87ocmhtsd2.fsf@fh-trier.de> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:70327 Archived-At: > I guess my main complain would be the over-expressiveness. =C2=A0Be it in= the > actual regexp, due to backslashes and most atoms being 3-5 characters > in length. =C2=A0Or in the replacement, due to missing zero-width matches= . And I instead wonder "can't we use rx for input when doing replace too?"...