To validate a number with this regular expression is mandatory to have the number group with only digits. You can modify the number group to accept spaces, hyphens, and dots with something like this: (?P<number>[\d-.]+).
Valid examples +54 9 11 50165564 54 2268 201232 15 50165564 11 50165564 ...