support regular expressions on branch