I\'ve seen the following code and I\'m confused about the use of Regex here. The requirement of this checkDateSanity method is:
The DATE format is dd.MM.