protocolPattern property

RegExp protocolPattern
final

Used to identify URLs as opposed to local asset paths. Expected input: URI strings (e.g. 'https://example.com/custom.js').

Implementation

static final RegExp protocolPattern =
    RegExp('^\\w+:', dotAll: true, unicode: true);