Regenerated fiber Bragg grating for fiber laser sensing at high temperatures