On Sun, 15 Jul 2007 17:58:21 +0200 "Marco Costalba" <mcostalba@xxxxxxxxx> wrote: > What should I search for to find the revision boundary? "\n\0" ? is > this that you mean with ^\0 Essentially yes. That pattern will never appear inside the comment or patch text because both sections are always indented. So in the example you cite, "\n\0" would match the proper terminator, and the "\n-\0" NUL would be ignored. Sean - 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