rsync regex: strip the line before analysing it