W3C home > Mailing lists > Public > public-xformsusers@w3.org > November 2017

ACTION-2140 - Check google library for support of extension numbers in telephone numbers

From: Erik Bruchez <erik@bruchez.org>
Date: Tue, 31 Oct 2017 23:02:46 -0700
Message-ID: <CAAc0PEWpjsCd5khRLj14R8F-m=auJD0Ca5NVLayxrj+BFKD7ug@mail.gmail.com>
To: "public-xformsusers@w3.org" <public-xformsusers@w3.org>

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 "-

So that tells us that, but I am not sure where we left this question last
time we talked about phone numbers.


Received on Wednesday, 1 November 2017 06:04:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:37:48 UTC