Expanding matching regex to handle branches with ticket number at the beginning.