Added the ability to pass in a regEx string.#8
Added the ability to pass in a regEx string.#8tkeithblack wants to merge 9 commits intosamuelezedi:masterfrom
Conversation
…regEx string used to detect emails and urls.
The previous regex string would flag numbers like 60.99 as a url, and it would flag any word with a dot like good.bye or anything with two dots like hello..there as urls. This new version does not flag these false positives, however, it will only catch emails and urls with the following extensions. .com .ru .org .gov .net .ir .in .uk .au .de .ua .edu .io .co
|
Added to this push request an updated regEx string for detecting urls and email addresses. This was tested on the following text and correctly flags all valid emails. I have tested it successfully against the string: "This paragraph is testing embedded urls like www.example.io |
…rd launch processing. If the method exists and returns true then LinkWell will not call the standard launch.
…cause a single regex string could not effectively detect every type of link (i.e. email, url, phone)
Allow passing a custom regEx string to override the built-in regex used to detect urls and emails.