From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: grep.el regexp Date: Sun, 19 Jun 2005 23:50:08 -0400 Message-ID: References: <87psuipj8b.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1119239844 4028 80.91.229.2 (20 Jun 2005 03:57:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Jun 2005 03:57:24 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 20 05:57:16 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DkDPM-0008Uj-Ln for ged-emacs-devel@m.gmane.org; Mon, 20 Jun 2005 05:57:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DkDVV-0005if-Od for ged-emacs-devel@m.gmane.org; Mon, 20 Jun 2005 00:03:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DkDRh-00040v-1s for emacs-devel@gnu.org; Sun, 19 Jun 2005 23:59:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DkDRZ-0003xQ-9p for emacs-devel@gnu.org; Sun, 19 Jun 2005 23:59:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DkDRY-0003th-EC for emacs-devel@gnu.org; Sun, 19 Jun 2005 23:59:28 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DkDLe-00005v-0J for emacs-devel@gnu.org; Sun, 19 Jun 2005 23:53:22 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DkDIW-0004Ja-9f; Sun, 19 Jun 2005 23:50:08 -0400 Original-To: Juri Linkov In-reply-to: <87psuipj8b.fsf@jurta.org> (message from Juri Linkov on Sun, 19 Jun 2005 16:30:12 +0300) 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:39148 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39148 I guess the original regexp was created to match different grep output formats. From this regexp I can deduce such formats that use space or tab as a separator between file name, line number and source line. I can't tell is it right to drop support for those formats. I think that if we wrote a separate regexp for each kind of grep, all together they would match a lot fewer different strings than the current regexp does, and they would be much easier to understand.