Re: [PATCH take 3 0/4] color-words improvements

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

 



Hi,

On Fri, 16 Jan 2009, Santi Béjar wrote:

>  2009/1/16 Johannes Schindelin <Johannes.Schindelin@xxxxxx>:
> >
> > On Fri, 16 Jan 2009, Santi Béjar wrote:
> >
> >> If everything works as I think (it's late night :-) with the above 
> >> two lines:
> >>
> >> matrix[a,b,c]
> >> matrix{d,b,c}
> >>
> >> the word diff would be
> >>
> >> matrix<RED>[<GREEN>{<RED>a<GREEN>d<RESET>,b,c<RED>]<GREEN>}<RED>
> >
> > So I guess that you want something like
> >
> >        [A-Za-z0-9]+|[^A-Za-z0-9 \t]+
> >
> 
> So, I see, it is a matter of finding the right regexp.
> 
> But the only use case for me is of this kind, and I think for the
> others too. So maybe an easier way to specify it could be worth.

Sure.  If you can come up with a nice name for it, we could add special 
handling for something like "[[:words:]]" expanding into said regexp.

Ciao,
Dscho

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux