History log of /frameworks/base/core/java/android/util/Patterns.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a3bb66a75ef746fc77e9c9dd466afdef7a56996c 23-Apr-2014 Selim Gurun <sgurun@google.com> Tune down the linkify false positive rate

Bug: 14066316

Tune down the false positive rate by restricting gTLD pattern a little bit.

Change-Id: I7bd39633d3267930593bd7231f764c110293301f
/frameworks/base/core/java/android/util/Patterns.java
b080c3c54a79493863aee3f4ba5d96307ac500ec 13-Feb-2014 Selim Gurun <sgurun@google.com> Support for new gTLDs

Bug: 13006774

Add support for new generic Top-Level Domains (gTLDs) from ICANN
and deprecate the public APIs that depend on them. Due to the
fast profileration of gTLDs, it has become hard to keep this API
up-to-date. Further it already fails to recognize internal domains.
We thus replace them with simple "any letter sequence" regexps.

This CL is almost same as Ib6cb5360bbb4a02b14bb34acb30d1cc8ddec771b.
The difference is that the values of the public gTLD strings are only
deprecated and not modified.

Change-Id: I37c130ace9068b80eeaec3282a77450517ed7794
/frameworks/base/core/java/android/util/Patterns.java
a739994d60880a786ec9e281e3235e54824daa90 26-Mar-2014 Selim Gurun <sgurun@google.com> Revert "Support for new gTLDs"

This reverts commit d3ff8bdf92c23d596f3e4701455223f9e3ac8873.

Change-Id: I2006c4fcca54a4bc3b680ea0b0600b359cac6ca3
/frameworks/base/core/java/android/util/Patterns.java
d3ff8bdf92c23d596f3e4701455223f9e3ac8873 13-Feb-2014 Selim Gurun <sgurun@google.com> Support for new gTLDs

Bug: 13006774

Add support for new generic Top-Level Domains (gTLDs) from ICANN
and deprecate the public APIs that depend on them. Due to the
fast profileration of gTLDs, it has become hard to keep this API
up-to-date. Further it already fails to recognize internal domains.
We thus replace them with simple "any letter sequence" regexps.

Change-Id: Ib6cb5360bbb4a02b14bb34acb30d1cc8ddec771b
/frameworks/base/core/java/android/util/Patterns.java
c3955e7e5a79f450c34e3b8052f1bb692b639580 11-Mar-2014 Narayan Kamath <narayan@google.com> Remove stray logging statement.

bug: https://code.google.com/p/android/issues/detail?id=66974
Change-Id: Ie34c102de143cf6aeb16c78778dda3ef5e928380
/frameworks/base/core/java/android/util/Patterns.java
a37fc575a4ac40f3ff2e9a9f2108b577a649db73 19-Sep-2012 Bin Zhu <bin.zhu@sonyericsson.com> Allow three digit phone numbers

The comment for the PHONE pattern says:

"<digit><digit|sdd>+<digit>"

But the actual pattern requires that the string contains
more than that. A phone number should be allowed to be
three digits.

Change-Id: I86d2f3d634cd0c1654dad9814906f151055dc23a
/frameworks/base/core/java/android/util/Patterns.java
52fc810f73e0d8e005281e80a981e1ceed855850 19-Jul-2011 Shimeng (Simon) Wang <swang@google.com> Add in i18n TLDs and new TLDs to the URL RegEx matcher.

also update APIs.

issue: 4384739
Change-Id: I946323d80f85fe43338fdc19c5858356faefa6cc
/frameworks/base/core/java/android/util/Patterns.java
db990751ef8e535ea5cb3d527e36936e119095e8 07-May-2010 Shimeng (Simon) Wang <swang@google.com> Updated URL pattern based on http://data.iana.org/TLD/tlds-alpha-by-domain.txt

Note: this change doesn't solve the Arabic country code top level domains, which
was turned on today. For that, more changes need to be done; probably we need a way
to convert the BiDi url to punycode first; then apply this URL pattern.

issue: 2663885
Change-Id: I0597fe620c4d44259bff88ecfcbcca1565928c6f
/frameworks/base/core/java/android/util/Patterns.java
cbeaf2d0aef5c8de9ce86b8f1dde17459f9227e3 07-May-2010 Shimeng (Simon) Wang <swang@google.com> Revert "Updated URL pattern based on http://data.iana.org/TLD/tlds-alpha-by-domain.txt"

This reverts commit 63b849ef8d6a47422b0f2779f1d9320f6a65d16b.
/frameworks/base/core/java/android/util/Patterns.java
9b1872e619bd06f33853716a4bae0214b4a7d176 07-May-2010 Shimeng (Simon) Wang <swang@google.com> Updated URL pattern based on http://data.iana.org/TLD/tlds-alpha-by-domain.txt

Note: this change doesn't solve the Arabic country code top level domains, which
was turned on today. For that, more changes need to be done; probably we need a way
to convert the BiDi url to punycode first; then apply this URL pattern.

issue: 2663885
Change-Id: Iac5d16bf9e091a072a59f8244ab6e87940badd4f
/frameworks/base/core/java/android/util/Patterns.java
40064d3098e17eb447e2b9ee4512b691f6b8c269 27-Apr-2010 Shimeng (Simon) Wang <swang@google.com> Add good international characters to the path part of Url pattern.

Change-Id: I05efb7e52a023fcb92db9db2b41dbab2ccca87c7
/frameworks/base/core/java/android/util/Patterns.java
2269d1572e5fcfb725ea55f5764d8c3280d69f6d 25-Feb-2010 Dianne Hackborn <hackbod@google.com> Re-arrange android-common so framework no longer links with it.

This is the framework part, moving classes around so the framework
no longer needs to link to android-common. Makes some APIs public,
others that didn't need to be public are private in the framework,
some small things are copied.
/frameworks/base/core/java/android/util/Patterns.java