Functiondojox.regexp.host

dojo.require("dojox.validate.regexp");
defined in dojox/validate/regexp.js

A host is a named host (A-z0-9_- but not starting with -), a domain name or an IP address, possibly followed by a port number.

Usage

function (/*Object?*/ flags) (view source)
parametertypedescription
flagsObjectOptional. in regexp.tld can be applied.