Ha, looking at the code, the phone number is validated with this regex:
phone_digits_re = re.compile(r'^\+?(\d|\ |\.|\(\d+\))*$')
so this would be valid and preserves all the country and area code information:
+1 (123) 456 7890
still, without any indication that spaces, parentheses and + are valid but hyphens are not, it's a bit hard to guess.
Ha, looking at the code, the phone number is validated with this regex:
phone_digits_re = re.compile( r'^\+?( \d|\ |\.|\(\d+\))*$')
so this would be valid and preserves all the country and area code information:
+1 (123) 456 7890
still, without any indication that spaces, parentheses and + are valid but hyphens are not, it's a bit hard to guess.