Move ParseRotaPattern() to capturefn.go