Cretezy / linkify

Low-level link (text, URLs, emails) parsing library in Dart
https://pub.dartlang.org/packages/linkify
MIT License
62 stars 50 forks source link

The loose url regex does not support domains with more than 4 letter #46

Open gianmarcocalbi opened 3 years ago

gianmarcocalbi commented 3 years ago

The part of the loose url regex recognizing the domain is [a-z]{2,4} (https://github.com/Cretezy/linkify/blob/master/lib/src/url.dart#L10) while nowadays there are many domains name with more than 4 letters like .design, .travel, .cloud, etc.