Fixed bug in regexp branch matching, bumped hook version