Fields Summary |
---|
public static final String | TOP_LEVEL_DOMAIN_STRRegular expression to match all IANA top-level domains.
List accurate as of 2011/07/18. List taken from:
http://data.iana.org/TLD/tlds-alpha-by-domain.txt
This pattern is auto-generated by frameworks/ex/common/tools/make-iana-tld-pattern.py |
public static final Pattern | TOP_LEVEL_DOMAINRegular expression pattern to match all IANA top-level domains. |
public static final String | TOP_LEVEL_DOMAIN_STR_FOR_WEB_URLRegular expression to match all IANA top-level domains for WEB_URL.
List accurate as of 2011/07/18. List taken from:
http://data.iana.org/TLD/tlds-alpha-by-domain.txt
This pattern is auto-generated by frameworks/ex/common/tools/make-iana-tld-pattern.py |
public static final String | GOOD_IRI_CHARGood characters for Internationalized Resource Identifiers (IRI).
This comprises most common used Unicode characters allowed in IRI
as detailed in RFC 3987.
Specifically, those two byte Unicode characters are not included. |
public static final Pattern | IP_ADDRESS |
private static final String | IRIRFC 1035 Section 2.3.4 limits the labels to a maximum 63 octets. |
private static final String | GOOD_GTLD_CHAR |
private static final String | GTLD |
private static final String | HOST_NAME |
public static final Pattern | DOMAIN_NAME |
public static final Pattern | WEB_URLRegular expression pattern to match most part of RFC 3987
Internationalized URLs, aka IRIs. Commonly used Unicode characters are
added. |
public static final Pattern | EMAIL_ADDRESS |
public static final Pattern | PHONEThis pattern is intended for searching for things that look like they
might be phone numbers in arbitrary text, not for validating whether
something is in fact a phone number. It will miss many things that
are legitimate phone numbers.
The pattern matches the following:
- Optionally, a + sign followed immediately by one or more digits. Spaces, dots, or dashes
may follow.
- Optionally, sets of digits in parentheses, separated by spaces, dots, or dashes.
- A string starting and ending with a digit, containing digits, spaces, dots, and/or dashes.
|