use regex instead of string, fix cgit colorisation