robinst / autolink-java

Java library to extract links (URLs, email addresses) from plain text; fast, small and smart
MIT License
207 stars 40 forks source link

Some url without http and www domain #37

Closed wangsuicheng closed 3 years ago

wangsuicheng commented 3 years ago

This kind of link doesn't work, for example: github.com/robinst/autolink-java/

robinst commented 3 years ago

Yeah that's currently not supported. There is an issue for this with some discussion in the Rust implementation: https://github.com/robinst/linkify/issues/7

Whatever we end up with there could be adapted and added to autolink-java.

robinst commented 3 years ago

Oh and there's already an issue for this here: https://github.com/robinst/autolink-java/issues/30