lukechilds / my-name-is-url
Star

my-name-is-url

About

my-name-is-url was created because I couldn't find a parser with a high enough success rate. The url spec is so vague that many strings could be a url, therefore matching the spec directly results in a lot of false positives. Most parsers get around this by requiring a url to contain a scheme to be matched as a url.

The regular expression used in my-name-is-url tries to match patterns likely to represent a url in a sentence rather than matching the actual url spec. This results in a much wider scope of matchable urls than most other parsers without introducing loads of false positives.

Bugs

If you spot anything odd it would be awesome if you could submit an issue on GitHub with your unique url and a description of what's wrong. Thanks :)