urlReg top-level property
A RegExp object used to validate basic URL strings using urlStr.
This pattern covers common use cases but does not strictly enforce all URL standards (e.g. query parameters, ports, or stricter TLD validation).
Implementation
RegExp urlReg = RegExp(urlStr);