On Wed, 3 Jan 2009, Tony Finch wrote: > On Wed, 3 Jun 2009, Jakub Narebski wrote: > > > > HEXDIGIT = 0-9 / a-f > > > > Well, it should probably be spelled in full. Probably, because I have > > no experience with using ABNF... and didn't do my research :-) > > The ABNF core rules include a definition for HEXDIG. See appendix B of > RFC 5234. I have found it _after_ sending this post in Wikipedia article (which is shorter than RFC 5234), but thanks anyway. > > (should HEXDIGIT use lowercase a-f, or can it use uppercase A-F?) > > Double-quoted strings in ABNF are case-insensitive ASCII, so the HEXDIG > rule accepts both. You need to use %x61 if you want a but not A. HEXDIG_LC = DIGIT / %x61-%x66 ; 0-9a-f, case sensitive Actually git accepts both lowercase and uppercase in HEXDIG (at least for pkt-length), but it prefers lowercase. -- Jakub Narebski Poland -- 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