Address Class

Public fields

method

(character) one or more URLs

url

(character) one or more URLs

Active bindings

method

(character) one or more URLs

url

(character) one or more URLs

Methods

Public methods


Method new()

Create a new Address object

Usage

Address$new(email_address, config = list())

Arguments

email_address

(character) an email address

config

(list) list of config options


Method split_local_host()

split local host

Usage

Address$split_local_host(email)

Arguments

email

(character) email address

Returns

character string


Method normal()

Usage

Address$normal()


Method to_s()

Usage

Address$to_s()


Method munge()

Usage

Address$munge()


Method canonical()

Usage

Address$canonical()


Method base()

Usage

Address$base()


Method reference()

Usage

Address$reference()


Method valid()

Usage

Address$valid(options = list())


Method fail()

Usage

Address$fail()


Method clone()

The objects of this class are cloneable with this method.

Usage

Address$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

if (FALSE) { x <- Address$new("[email protected]") x x$local x$local$valid() x$host x$host$valid() x$valid() x$fail() x$munge() x$normal() x <- Address$new("[email protected]", config = list(munge_string = "*^*^*^*")) x$munge() }