urlPattern top-level property

RegExp urlPattern
final

HTTP(S) and protocol-relative URLs embedded in free-form diagnostic text.

Implementation

final RegExp urlPattern = RegExp(
  r'''(?:(?:https?:)?//)[^\s<>"']+''',
  caseSensitive: false,
);