templates / branches--on commit regex: add regexec_buf() that can work on a non NUL-terminated string (2f89522)
   1: this is just to ensure the directory exists.