Skip to content

Commit 696500c

Browse files
committed
fix url regex
1 parent 0f34b4c commit 696500c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,5 @@ export const BUS_API_EVENT = {
7474
};
7575

7676
export const REGEX = {
77-
URL: /^(http(s?):\/\/)?(www\.)?[a-zA-Z0-9\.\-\_]+(\.[a-zA-Z]{2,15})+(\:[0-9]{2,5})?(\/[a-zA-Z0-9\_\-\s\.\/\?\%\#\&\=]*)?$/, // eslint-disable-line
77+
URL: /^(http(s?):\/\/)?(www\.)?[a-zA-Z0-9\.\-\_]+(\.[a-zA-Z]{2,15})+(\:[0-9]{2,5})?(\/[a-zA-Z0-9\_\-\s\.\/\?\%\#\&\=;]*)?$/, // eslint-disable-line
7878
};

0 commit comments

Comments
 (0)