schemes.go 402 B

123456789101112131415
  1. package xurls
  2. // SchemesNoAuthority is a sorted list of some well-known url schemes that are
  3. // followed by ":" instead of "://". Since these are more prone to false
  4. // positives, we limit their matching.
  5. var SchemesNoAuthority = []string{
  6. `bitcoin`, // Bitcoin
  7. `file`, // Files
  8. `magnet`, // Torrent magnets
  9. `mailto`, // Mail
  10. `sms`, // SMS
  11. `tel`, // Telephone
  12. `xmpp`, // XMPP
  13. }