Dan Zwell wrote: > Junio C Hamano wrote: >> But the point is, that you are not ignoring invalid color names >> but instead giving back a random match aren't you? > > No, if there's no match, the token is ignored. False matches are > possible in some cases (the bogus config option "colored" would match > "red", for example), Match /\b(?:red|...)\b/ then -- Jakub Narebski Warsaw, Poland ShadeHawk on #git - 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