templates / branches--on commit log --grep: accept --basic-regexp and --perl-regexp (727b6fc)
   1: this is just to ensure the directory exists.