From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Sending multiple patches Date: Mon, 02 Jun 2014 20:00:37 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1401753666 13037 80.91.229.3 (3 Jun 2014 00:01:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2014 00:01:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michal Nazarewicz Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 03 02:00:59 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wrc9v-0005oR-5t for ged-emacs-devel@m.gmane.org; Tue, 03 Jun 2014 02:00:55 +0200 Original-Received: from localhost ([::1]:49753 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wrc9u-0001cT-Tc for ged-emacs-devel@m.gmane.org; Mon, 02 Jun 2014 20:00:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wrc9l-0001RM-OA for emacs-devel@gnu.org; Mon, 02 Jun 2014 20:00:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wrc9e-0002P0-8v for emacs-devel@gnu.org; Mon, 02 Jun 2014 20:00:45 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:33765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wrc9e-0002Ou-4n for emacs-devel@gnu.org; Mon, 02 Jun 2014 20:00:38 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVPO+IOj/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCwsOJhIUGA0kiAQI0hkXjnoHhDgEqRmBaoNMIQ X-IPAS-Result: ArUGAIDvNVPO+IOj/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCwsOJhIUGA0kiAQI0hkXjnoHhDgEqRmBaoNMIQ X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="65518713" Original-Received: from 206-248-131-163.dsl.teksavvy.com (HELO pastel.home) ([206.248.131.163]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 02 Jun 2014 20:00:37 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 4AD9D600D1; Mon, 2 Jun 2014 20:00:37 -0400 (EDT) In-Reply-To: (Michal Nazarewicz's message of "Mon, 02 Jun 2014 21:03:51 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172276 Archived-At: > I started implementing this which is when I realised that "end-\\1" > won't cut it because contents of the matched capture group must be > escaped with `regexp-quote'. For example, if we had: AFAICT, you can regexp-quote the whole result. Stefan