> 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


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to