- From: Erik Bruchez <erik@bruchez.org>
- Date: Tue, 31 Oct 2017 23:02:46 -0700
- To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>
Received on Wednesday, 1 November 2017 06:04:03 UTC
All,
So a quick look at the Google library seems to confirm that they support
parsing extensions. See for example [1]. The comment says:
// There are three regular expressions here. The first covers RFC 3966
format, where the
// extension is added using ";ext=". The second more generic one starts
with optional white
// space and ends with an optional full stop (.), followed by zero or
more spaces/tabs/commas
// and then the numbers themselves. The other one covers the special
case of American numbers
// where the extension is written with a hash at the end, such as "-
503#"
So that tells us that, but I am not sure where we left this question last
time we talked about phone numbers.
-Erik
[1]
https://github.com/googlei18n/libphonenumber/blob/master/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L331
Received on Wednesday, 1 November 2017 06:04:03 UTC