Change pattern in r.series