|
@@ -49,7 +49,7 @@ def clean_phone(phone):
|
|
|
# and cleaned numbers are deduped already.
|
|
|
def split_sms_to(data):
|
|
|
# we use regex below to split the string since we allow any whitespace, comma, or combination of the two
|
|
|
- # as a delimeter
|
|
|
+ # as a delimiter
|
|
|
phone_numbers = set(re.split(r"[,\s]+", data))
|
|
|
stripped_phone_numbers = {num.strip() for num in phone_numbers}
|
|
|
return stripped_phone_numbers
|