BackupNameElements: use OnDemandCache to cache regex