emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep.el regexp


From: Stefan Monnier
Subject: Re: grep.el regexp
Date: Thu, 30 Jun 2005 13:34:25 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> The example you showed is not an example of THAT.  You're talking
> about three disjoint matches in the same line.

> So while this could be an example where it is valid to have
> multiple matches on the same line, it's only valid because they
> match disjoint parts of the same line.

> I am not sure whether that relates to the suggestion I made:

>> 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.

Indeed, the two do not conflict.  I.e. I think there's no problem with
compile.el's current behavior in this regard and I believe your suggestion
w.r.t grep.el should work just fine.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]