Revert "Merge pull request #347 from v0l/fix-links-in-parentheses"
This reverts commit d74af4b323d6263a43f99af65bab56fa24648c4e, reversing changes made to e0dea32d6fa57d9518b980852fa1808ff4cd174c.
This commit is contained in:
parent
d74af4b323
commit
5cfca1b0e7
@ -89,7 +89,7 @@ export const EmailRegex =
|
||||
*/
|
||||
export const UrlRegex =
|
||||
// eslint-disable-next-line no-useless-escape
|
||||
/((?:http|ftp|https):\/\/(?:[\w+?\.\w+])+(?:[a-zA-Z0-9\~\!\@\#\$\%\^\&\*\(\)_\-\=\+\\\/\?\.\:\;\'\,]*(?<!\)))\b\/?)/i;
|
||||
/((?:http|ftp|https):\/\/(?:[\w+?\.\w+])+(?:[a-zA-Z0-9\~\!\@\#\$\%\^\&\*\(\)_\-\=\+\\\/\?\.\:\;\'\,]*)?)/i;
|
||||
|
||||
/**
|
||||
* Extract file extensions regex
|
||||
|
Loading…
x
Reference in New Issue
Block a user