Regimes of oscillation in a linear array of vortices