validUrl top-level constant

String const validUrl

Implementation

const validUrl = '(' // $1 total match
    '($validUrlPrecedingChars)' // $2 Preceding character
    '(' // $3 URL
    '(https?:\\/\\/)?' // $4 Protocol (optional)
    '($validDomain)' // $5 Domain(s)
    '(?::($validPortNumber))?' // $6 Port number (optional)
    '(\\/$validUrlPath*)?' // $7 URL Path
    '(\\?$validUrlQueryChars*$validUrlQueryEndingChars)?' // $8 Query String
    ')'
    ')';