added in version 1.0.0
belongs to Maven artifact androidx.core:core:1.0.0-beta01

PatternsCompat

public final class PatternsCompat
extends Object

java.lang.Object
   ↳ androidx.core.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

Fields

DOMAIN_NAME

added in version 1.0.0
public static final Pattern DOMAIN_NAME

EMAIL_ADDRESS

added in version 1.0.0
public static final Pattern EMAIL_ADDRESS

IP_ADDRESS

added in version 1.0.0
public static final Pattern IP_ADDRESS

WEB_URL

added in version 1.0.0
public static final Pattern WEB_URL

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