imports system.collections.generic
public sub New(byval sDomain as string)
dim sPairs as keyvaluepair(of string, string)
public sub New(byval sKey as string)
dim sDomains as string() = skey.split(";")
for i as integer = 0 to sdomains.length-1
me.Add( new domain(sdomains(i)))
dim sKey as string = "loginMask=^(?:maxwellpaper\\)\w+;domainController=roma;domain=maxwellpaper.ca;DC=maxwellpaper,DC=ca;|loginMask=^((?:normax)(international)?\\)\w+;domainController=smith;domain=normaxinternational.com;DC=normaxinterational,DC=com;"
dim oDomains as new domains(sKey)