File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ Example Usage
1010-------------
1111
1212The main object that the library deals with is a ` PhoneNumber ` object. You can create this from a string
13- representing a phone number using the ` parse ` function, but you also need to specify the country that the
14- phone number is from.
13+ representing a phone number using the ` parse ` function, but you normally also need to specify the country
14+ that the phone number is from (unless the number is in E.164 format) .
1515
1616 >>> import phonenumbers
1717 >>> x = phonenumbers.parse("+442083661177", None)
@@ -62,7 +62,8 @@ applied as the user types. The `AsYouTypeFormatter` object allows this.
6262
6363Sometimes, you've got a larger block of text that may or may not have some phone numbers inside it. For this,
6464the ` PhoneNumberMatcher ` object provides the relevant functionality; you can iterate over it to retrieve a
65- sequence of ` PhoneNumberMatch ` objects.
65+ sequence of ` PhoneNumberMatch ` objects. Each of these match objects holds a ` PhoneNumber ` object together
66+ with information about where the match occurred in the original string.
6667
6768 >>> text = "Call me at 510-748-8230 if it's before 9:30, or on 703-4800500 after 10am."
6869 >>> for match in phonenumbers.PhoneNumberMatcher(text, "US"):
You can’t perform that action at this time.
0 commit comments