From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: grep.el regexp Date: Fri, 22 Jul 2005 21:09:02 +0300 Organization: JURTA Message-ID: <87sly63hwv.fsf@jurta.org> References: <87psuipj8b.fsf@jurta.org> <87k6kme6sp.fsf@jurta.org> <87aclb2w0m.fsf@jurta.org> <873br3xaum.fsf-monnier+emacs@gnu.org> <87u0jh6cwq.fsf-monnier+emacs@gnu.org> <87y88fwpu7.fsf@jurta.org> <87vf3iawo6.fsf@jurta.org> <87ek9usqm4.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1122075535 31369 80.91.229.2 (22 Jul 2005 23:38:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Jul 2005 23:38:55 +0000 (UTC) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 23 01:38:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dw75l-0004MB-PL for ged-emacs-devel@m.gmane.org; Sat, 23 Jul 2005 01:38:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dw77v-0007e2-Tq for ged-emacs-devel@m.gmane.org; Fri, 22 Jul 2005 19:40:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dw77Q-0007XT-TB for emacs-devel@gnu.org; Fri, 22 Jul 2005 19:39:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dw77I-0007Tc-PD for emacs-devel@gnu.org; Fri, 22 Jul 2005 19:39:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dw77I-0007TK-IF for emacs-devel@gnu.org; Fri, 22 Jul 2005 19:39:44 -0400 Original-Received: from [194.126.101.116] (helo=HOT-Bounce1.hot.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dw7Ei-0001KI-VH; Fri, 22 Jul 2005 19:47:25 -0400 Original-Received: from mail.neti.ee (Relay4 [192.168.1.23]) by HOT-Bounce1.hot.ee (Postfix) with ESMTP id B1069161C0E; Fri, 22 Jul 2005 21:16:21 +0300 (EEST) Original-Received: from mail.neti.ee (80-235-41-184-dsl.mus.estpak.ee [80.235.41.184]) by Relayhost1.neti.ee (Postfix) with ESMTP id 6DECD1FB6; Fri, 22 Jul 2005 21:30:39 +0300 (EEST) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Fri, 22 Jul 2005 00:56:37 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:41163 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41163 > but it will recognize lines with the leading number and colon as the > column number (look the example in etc/grep.txt). > > I don't see any lines in grep.txt which start with a number and a > colon. So I don't understand this at all. Would you please show > those lines you mean, instead of just describing them? I meant matching lines which start with a number and a colon in source files, not in grep.txt. In grep.txt an example of such case is: grep -nH -e "Universal Time" ../lispref/* ../lispref/os.texi:1010:0:00 January 1, 1970 UTC (Coordinated ^[[01;31mUniversal Time^[[00m) ================== ==== ==================================================================== file name line# matching line where the file `../lispref/os.texi' contains the line: 0:00 January 1, 1970 UTC (Coordinated ^[[01;31mUniversal Time^[[00m) -- Juri Linkov http://www.jurta.org/emacs/