[patch] improved ignore pattern matching (#57637)
Jari Aalto
jari.aalto at cante.net
Mon Nov 27 19:38:02 GMT 2006
Jan Hudec <bulb at ucw.cz> writes:
> On Sun, Nov 26, 2006 at 08:34:16PM +0200, Jari Aalto wrote:
> > Kent Gibson <warthog618 at gmail.com> writes:
> > [...]
> > > Not supporting whitespace in regexes would be weird. In regexes
> > > whitespace is normally matched verbatim - if that's how you want to
> > > use it. Or you can use the special character groups as you suggest.
> > > Leave it to the user.
> >
> > Sure, I was just think that someone wrotes:
> >
> > <SPACE><TAB>
> > <SPACE><N spaces>
> We are NOT talking about LEADING whitespace, since there CAN'T be
> leading whitespace in a regex, because there always has to be the 'RE:'
> prefix before it. Any editor that changes non-leading whitespace is just
> plain brain-damaged.
Harsh comment :-) It's not at all braindameged to want spaces instead
of tabs. And make the setting global. This prevents all kinds of
mistakes when sending diffs back and forth and merging code.
It just happens that when editing ignore file ....
Jari
More information about the bazaar
mailing list