added in version 25.1.0
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1

PatternsCompat

public final class PatternsCompat
extends Object

java.lang.Object
   ↳ android.support.v4.util.PatternsCompat


Commonly used regular expression patterns.

Summary

Fields

public static final Pattern DOMAIN_NAME

public static final Pattern EMAIL_ADDRESS

public static final Pattern IP_ADDRESS

public static final Pattern WEB_URL

Regular expression pattern to match most part of RFC 3987 Internationalized URLs, aka IRIs.

Inherited methods

From class java.lang.Object

Fields

DOMAIN_NAME

added in version 25.1.0
Pattern DOMAIN_NAME

EMAIL_ADDRESS

added in version 25.1.0
Pattern EMAIL_ADDRESS

IP_ADDRESS

added in version 25.1.0
Pattern IP_ADDRESS

WEB_URL

added in version 25.1.0
Pattern WEB_URL

Regular expression pattern to match most part of RFC 3987 Internationalized URLs, aka IRIs.