From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Politz Newsgroups: gmane.emacs.help Subject: Re: Help with regexp Date: Wed, 02 Dec 2009 17:56:01 +0100 Message-ID: <87d42xs4bi.fsf@fh-trier.de> 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 1259779930 14887 80.91.229.12 (2 Dec 2009 18:52:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Dec 2009 18:52:10 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Lennart Borgman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 02 19:52:03 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 1NFuIx-00039W-W1 for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Dec 2009 19:52:00 +0100 Original-Received: from localhost ([127.0.0.1]:44410 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFuIx-00070L-8G for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Dec 2009 13:51:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NFsVF-0002hY-Tb for help-gnu-emacs@gnu.org; Wed, 02 Dec 2009 11:56:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NFsVB-0002aq-04 for help-gnu-emacs@gnu.org; Wed, 02 Dec 2009 11:56:33 -0500 Original-Received: from [199.232.76.173] (port=57190 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NFsVA-0002aX-Qn for help-gnu-emacs@gnu.org; Wed, 02 Dec 2009 11:56:28 -0500 Original-Received: from gateway-a.fh-trier.de ([143.93.54.181]:43155) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NFsVA-0004Tz-Bi for help-gnu-emacs@gnu.org; Wed, 02 Dec 2009 11:56:28 -0500 Original-Received: from raven (dslb-084-059-196-133.pools.arcor-ip.net [84.59.196.133]) (Authenticated sender: politza) by gateway-a.fh-trier.de (Postfix) with ESMTP id B58F417199D6; Wed, 2 Dec 2009 17:56:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=fh-trier.de; s=default; t=1259772963; bh=XNY7W5dFdCSaj7qJ9y9qWhty+wE=; h=From:To:Cc:Subject: References:Date:In-Reply-To:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding; b=i24ytsMocpiuQig4uPBgQU7XQr/wzAaSiyQgD UxUvIdPQxnI4wTfUboO+N+xr2/K61k0/PLQAwaR1vUJUi9OB48ddzHwwX5sTvGgdCnP k5zpxBrpPETFBEnqO9+uaNlK8Wox/ZKROO7JNolM2FGNy6jbq1hrfw3/I+V2K1+HDRk = In-Reply-To: (Lennart Borgman's message of "Wed, 2 Dec 2009 17:05:01 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-Virus-Scanned: by Amavisd-new + McAfee uvscan + ClamAV [Rechenzentrum FH-Trier (r/ft)] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:70329 Archived-At: Lennart Borgman writes: >> I guess my main complain would be the over-expressiveness. =C2=A0Be it i= n 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 matche= s. > > And I instead wonder "can't we use rx for input when doing replace too?".= .. This reminds me of something else regexp related, though fixable. Navigating point inside a regexp is very painfully. I guess that's enough complains from me for this year. -ap