validDomainName top-level constant

String const validDomainName

Implementation

const validDomainName = '(?:(?:'
    '$validDomainChars'
    '(?:-|'
    '$validDomainChars'
    ')*)?'
    '$validDomainChars'
    r'\.)';