From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: Fixing ill-conditioned regular expressions. Proof of concept. Date: Mon, 23 Feb 2015 23:07:49 +0000 Message-ID: References: <20150223181205.GA2861@acm.fritz.box> <54EB85AC.1030800@cs.ucla.edu> <20150223202114.GB2861@acm.fritz.box> <54EBA757.5030901@cs.ucla.edu> <20150223224245.GC2861@acm.fritz.box> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1424733164 14080 80.91.229.3 (23 Feb 2015 23:12:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Feb 2015 23:12:44 +0000 (UTC) Cc: Paul Eggert , emacs-devel To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 24 00:12:37 2015 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 1YQ2Az-00056y-04 for ged-emacs-devel@m.gmane.org; Tue, 24 Feb 2015 00:12:33 +0100 Original-Received: from localhost ([::1]:45918 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQ2Ay-0006ai-10 for ged-emacs-devel@m.gmane.org; Mon, 23 Feb 2015 18:12:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQ26R-0005jG-DL for emacs-devel@gnu.org; Mon, 23 Feb 2015 18:07:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQ26Q-0001rH-Q4 for emacs-devel@gnu.org; Mon, 23 Feb 2015 18:07:51 -0500 Original-Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]:45373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQ26Q-0001qh-GS for emacs-devel@gnu.org; Mon, 23 Feb 2015 18:07:50 -0500 Original-Received: by labge10 with SMTP id ge10so22046247lab.12 for ; Mon, 23 Feb 2015 15:07:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=wX8w7l0Eyn0XoGnMUwgQwC9vbj/HbO1ElsbHrSKgn4k=; b=Imlr+OS8/E8zOYFmdbjdCl9DvtyLM32YRW14QSJi7Lexrf3znXP93g6+Qk+5/xcwsq t55EoiQmggjg7+ds9J0zqcp5+nnIK4lp3Q20wlZyikSxVjT9T7KDxxXWgUpbmZctlceT l2xB6k6071WaYIimqOKeeJcTxMSUpGZj+QJfcAyhNqQzXFBg2luM8/E4atzLchfXzH6Z hVP6GBGrTcNQhZo+KIj8f3gJjUVIhbPwVlrfxwWBIgWYLgX1ZP5qQSeQO78tpB4Ttmb8 5cpZJOXi35+zCdvYo169ijXyyRtX3Gyn6vTzaoPpH/5sFv9oCANV49obzWjgnuqYLDcC 587Q== X-Received: by 10.152.88.4 with SMTP id bc4mr11975544lab.86.1424732869784; Mon, 23 Feb 2015 15:07:49 -0800 (PST) Original-Received: by 10.112.49.9 with HTTP; Mon, 23 Feb 2015 15:07:49 -0800 (PST) In-Reply-To: <20150223224245.GC2861@acm.fritz.box> X-Google-Sender-Auth: 2qBZyV9-je0N5q7fqKUB-QDzN5I X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22d 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:183433 Archived-At: > Brilliant idea! Why not call fix-re from within > re-search-forward/backward, looking-at, ... With its cache, the extra > runtime will be negligible. As long as that's properly tested and verified. :-)