Skip to content

Commit

Permalink
Sync cleanIspInfo function from IP-1.js to IP-2.js, IP-3.js, IP-4.js
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 3, 2024
1 parent 934deaf commit 406f2c3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Module/Panel/IP-info/Moore/IP-2.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ function getFlagEmoji(countryCode) {
}

function cleanIspInfo(isp) {
return isp.replace(/\s?[,]|\s\-|\.$|\(.*\)|\s?(\b(AS\d+\s|Hong Kong|Mass internet|Communications?|Company|information|international|Technolog(y|ies)|ESolutions?|Services Limited)\b)|munications?/gi, '');
return isp.replace(/\s\-|\.$|\s?(\b(AS\d+\s|\(.*\)|[,]|Hong Kong|Mass internet|Communications?|Company|information|international|Technolog(y|ies)|ESolutions?|Services Limited)\b)|munications?/gi, '');
}
2 changes: 1 addition & 1 deletion Module/Panel/IP-info/Moore/IP-3.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ function getFlagEmoji(countryCode) {
}

function cleanIspInfo(isp) {
return isp.replace(/\s?[,]|\s\-|\.$|\(.*\)|\s?(\b(AS\d+\s|Hong Kong|Mass internet|Communications?|Company|information|international|Technolog(y|ies)|ESolutions?|Services Limited)\b)|munications?/gi, '');
return isp.replace(/\s\-|\.$|\s?(\b(AS\d+\s|\(.*\)|[,]|Hong Kong|Mass internet|Communications?|Company|information|international|Technolog(y|ies)|ESolutions?|Services Limited)\b)|munications?/gi, '');
}
2 changes: 1 addition & 1 deletion Module/Panel/IP-info/Moore/IP-4.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ function getFlagEmoji(countryCode) {
}

function cleanIspInfo(isp) {
return isp.replace(/\s?[,]|\s\-|\.$|\(.*\)|\s?(\b(AS\d+\s|Hong Kong|Mass internet|Communications?|Company|information|international|Technolog(y|ies)|ESolutions?|Services Limited)\b)|munications?/gi, '');
return isp.replace(/\s\-|\.$|\s?(\b(AS\d+\s|\(.*\)|[,]|Hong Kong|Mass internet|Communications?|Company|information|international|Technolog(y|ies)|ESolutions?|Services Limited)\b)|munications?/gi, '');
}

0 comments on commit 406f2c3

Please sign in to comment.