We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca564df commit 504d3c9Copy full SHA for 504d3c9
1 file changed
src/url.tsx
@@ -2,7 +2,7 @@ import React from "react";
2
import type { LinkProps } from "types";
3
4
export const urlRegex =
5
- /(https?:\/\/|www\.)[^\s<>'"()\[\]{}]+[^\s<>'"()\[\]{}.,;:!?\])}]/u;
+ /(https?:\/\/|www\.)[^\s<>'"()[\]{}]+[^\s<>'"()[\]{}.,;:!?\])}]/u;
6
7
export const UrlComponent: React.FC<React.PropsWithChildren<LinkProps>> = ({
8
match: url,
0 commit comments