SchemeAutolinkSyntax constructor
Implementation
SchemeAutolinkSyntax(Set<String> schemes)
: super(
// ends before the punctuation that closes the sentence
'(?<![\\w/])(?:${schemes.map(RegExp.escape).join('|')})://'
'[^\\s<>()]*[^\\s<>().,;:!?\'"]',
caseSensitive: false,
);