mirror of
https://github.com/zoriya/flood.git
synced 2026-06-02 19:11:14 +00:00
Get UDP trackers domain name
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
const regEx = {
|
||||
url: /^(?:https?|ftp):\/\/.{1,}\.{1}.{1,}/,
|
||||
domainName: /https?:\/\/(?:www\.)?([-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,18}\b)*(\/[\/\d\w\.-]*)*(?:[\?])*(.+)*/i
|
||||
domainName: /(?:https?|udp):\/\/(?:www\.)?([-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,18}\b)*(\/[\/\d\w\.-]*)*(?:[\?])*(.+)*/i
|
||||
};
|
||||
|
||||
module.exports = regEx;
|
||||
|
||||
Reference in New Issue
Block a user