I am trying to achieve field validation with angular reactive forms with regex pattern ##.##.##.##. For some patterns, it is not working. I tried the below input 12.25.36.25 which fails the validation, tested the pattern (^\d{2}.\d{2}.\d{2}.\d{2}$) with regextester which works fine. I am not sure the what's going wrong here. Any help is much appreciated.
Here is the StackBlitz.