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 May 24, 2024
1 parent c5941ef commit 4cda3e2
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,6 +41,6 @@ function getFlagEmoji(countryCode) {
}

function cleanIspInfo(isp) {
return isp.replace(/\s?[,]|\s\-|\.$|\(.*\)|(\b(Hong Kong|Mass internet|Communications?|Company|information|international|Technolog(y|ies)|ESolutions?|Services Limited)\b)\s?|munications?/gi, '')
return isp.replace(/\s?[,]|\s\-|\.$|\(.*\)|(\b(Hong Kong|Mass internet|Test|Communications?|Company|information|international|Technolog(y|ies)|ESolutions?|Services Limited)\b)\s?|munications?/gi, '')
.replace(/\s+/g, ' ');
}
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,6 +41,6 @@ function getFlagEmoji(countryCode) {
}

function cleanIspInfo(isp) {
return isp.replace(/\s?[,]|\s\-|\.$|\(.*\)|(\b(Hong Kong|Mass internet|Communications?|Company|information|international|Technolog(y|ies)|ESolutions?|Services Limited)\b)\s?|munications?/gi, '')
return isp.replace(/\s?[,]|\s\-|\.$|\(.*\)|(\b(Hong Kong|Mass internet|Test|Communications?|Company|information|international|Technolog(y|ies)|ESolutions?|Services Limited)\b)\s?|munications?/gi, '')
.replace(/\s+/g, ' ');
}
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,6 +43,6 @@ function getFlagEmoji(countryCode) {
}

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

0 comments on commit 4cda3e2

Please sign in to comment.