Skip to content

Commit 4e25c56

Browse files
committed
Revert "chore(dfts-helper): fix isUrlRegex eslint"
This reverts commit cc45f7e.
1 parent 4eb9b42 commit 4e25c56

File tree

1 file changed

+0
-2
lines changed
  • libs/dfts-helper/src/lib/helper/string/url

1 file changed

+0
-2
lines changed

libs/dfts-helper/src/lib/helper/string/url/url.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import { UndefinedOrNullOr } from '../../../types';
22

33
const isUrlRegEx =
4-
// eslint-disable-next-line no-useless-escape
54
/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[\-;:&=\+\$,\w]+@)?[A-Za-z0-9\.\-]+|(?:www\.|[\-;:&=\+\$,\w]+@)[A-Za-z0-9\.\-]+)((?:\/[\+~%\/\.\w\-_]*)?\??(?:[\-\+=&;%@\.\w_]*)#?(?:[\.\!\/\\\w]*))?)/;
6-
75
/**
86
* Returns <code>true</code> if the given string is an url, <code>false</code> if not
97
* @param {string} url

0 commit comments

Comments
 (0)