[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with recent change to grep-regexp-alist
From: |
Emanuele Giaquinta |
Subject: |
Re: problem with recent change to grep-regexp-alist |
Date: |
Sun, 7 Aug 2005 16:25:00 +0200 |
> > Ok, let's use "\(.+?\)".
> >
> > You can still get wrong matches with the file names like "abc:123",
> > but perhaps such file names are rare.
>
> Maybe \([A-Za-z]:\| ...
> or something? It is not like there are many Unix file names starting
> with a single letter followed by colon.
>
> But Linux has file names like
>
> /proc/driver/uhci/0000:00:07.2
For those files the matching will be fine.
The wrong matches occur when the filename contains somewhere the
pattern ":[0-9]+:" or ends with the pattern ":[0-9]+" (like Juri's example)
Juri, wouldn't be good to add a comment about this in grep.el or grep.txt?