5 ms·
It looks interesting, but the readme nor the title doesn't make clear what is the project about. Would someone care to explain?
by jxub 7y ago
It looks interesting, but the readme nor the title doesn't make clear what is the project about. Would someone care to explain?
- mgliwka 7y agoThis project attempts to parse url's and email addresses from text, even when the protocol is missing or they're mangled in some other fashion (i.e. google.com/test-url?id=2 gets parsed and identified as valid URL, but invalid.nontld/test not. Or "test@example.euSample Text" get's parsed as test@example.eu)
- YesThatTom2 7y agoSuggestion: change parse to extract That would be even more clear.
- ken 7y agoFWIW, Apple’s implementation of this is called “NSDataDetector”.
- gray_-_wolf 7y agoSo it needs to be updated every time new tld is added? That seems... suboptimal. Also it will not work for intranet addresses (valid.insidemylan/test).