kevva / url-regex

Regular expression for matching URLs
MIT License
353 stars 65 forks source link

Add option to only return urls surrounded by word boundaries #82

Open vixalien opened 1 year ago

vixalien commented 1 year ago

currently, the URL will return true for https://url.coINVALID and return "https://url.co". would be nice to have the library not match these (same kinda thing like the \b flag)