fix: remove duplicate function
This commit is contained in:
parent
23e3957534
commit
7eeccaaefc
1 changed files with 0 additions and 5 deletions
|
|
@ -777,11 +777,6 @@ Object.assign(frappe.utils, {
|
|||
name: M[0],
|
||||
version: M[1],
|
||||
};
|
||||
},
|
||||
|
||||
is_url(string) {
|
||||
const url_regex = new RegExp(/https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)/gi);
|
||||
return Boolean(string.match(url_regex));
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue