Linear flow regulator