I'm a little concerned about this logic here. It looks like it would catch most strings (strings with 5-40 characters) and thus match most branch names