Fixed branch pattern regular expression.