From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuele Giaquinta Newsgroups: gmane.emacs.devel Subject: problem with recent change to grep-regexp-alist Date: Sat, 6 Aug 2005 12:34:01 +0200 Message-ID: <20050806103401.GA369@dd213-213-54-232.pa1.infinito.it> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123327154 22890 80.91.229.2 (6 Aug 2005 11:19:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 6 Aug 2005 11:19:14 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 06 13:19:11 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E1Mgr-0002q0-TX for ged-emacs-devel@m.gmane.org; Sat, 06 Aug 2005 13:18:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E1Mji-00089J-5r for ged-emacs-devel@m.gmane.org; Sat, 06 Aug 2005 07:21:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E1MTA-0003uc-Gx for emacs-devel@gnu.org; Sat, 06 Aug 2005 07:04:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E1MT8-0003u6-OD for emacs-devel@gnu.org; Sat, 06 Aug 2005 07:04:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E1MSi-0003BA-Vu for emacs-devel@gnu.org; Sat, 06 Aug 2005 07:03:33 -0400 Original-Received: from [64.233.170.206] (helo=rproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E1MDX-0004V5-00 for emacs-devel@gnu.org; Sat, 06 Aug 2005 06:47:51 -0400 Original-Received: by rproxy.gmail.com with SMTP id y7so730025rne for ; Sat, 06 Aug 2005 03:34:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:subject:message-id:mime-version:content-type:content-disposition:user-agent; b=cmh/9fju71Oi7Wu0lf5yMShhk33YBRz9WCx6RI6tpDCXufSOjYfXAzfSWAZ9d9IrYEp+Xa5fgNfJ1Vg6hH1AU+I9V6tWu//1CFefnVrE+6L6zNnfTinLvce+fOm/KmJpSPfOUBP7t408NSINdH8kGxwfGwSRT3b8Av3o4Mpk9mw= Original-Received: by 10.38.104.26 with SMTP id b26mr1751716rnc; Sat, 06 Aug 2005 03:34:10 -0700 (PDT) Original-Received: from localhost ([213.213.54.232]) by mx.gmail.com with ESMTP id 3sm6343728rnr.2005.08.06.03.34.07; Sat, 06 Aug 2005 03:34:10 -0700 (PDT) Original-To: emacs-devel@gnu.org Content-Disposition: inline User-Agent: Mutt/1.5.9i X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:41581 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41581 Hi, In the 1.42 revision of grep.el the subpattern for the filename in the regexps of the first two grep-regexp-alist's elements has been changed from "\(.+?\)" to "\([^:\n]+\)". Now the matching fails if the filename contains a colon, while the previous value worked, thanks to the non greedy "+?" quantifier. Note that the regexp of the third grep-regexp-alist's element is still correct, and is the one that matches if grep-highlight-matches's value is "t" (which is the default). Emanuele Giaquinta