On Fri, May 2, 2008 at 11:54 AM, Junio C Hamano <gitster@xxxxxxxxx> wrote: > Ping Yin <pkufranky@xxxxxxxxx> writes: > > I suspect a more natural definition of word boundary is between a run of > word characters and a run of non-word characters. IOW, instead of saying > " " and "(these other)" characters are boundary, you would say > > if (foo(arg)) > > between f and space, open paren and f, second o and open paren, that open > paren and a, ... are boundaries. > > If you go that route, you would make the definition of "what is the set of > word characters" configurable. I prefer nonwordcharacters to wordcharacters. With diff.wordcharacters, to maintain the same behaviour as before, i have to define a long list of characters. While with diff.nonwordcharacters, i need only define it to "". So how about just renaming wordsboundary to nonwordcharacters? -- Ping Yin -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html