Skip to content

Commit

Permalink
Merge pull request #7469 from cgrail/shorturl
Browse files Browse the repository at this point in the history
Detect shorturl
  • Loading branch information
cgrail authored Jan 3, 2025
2 parents 945ce3d + 8e3391e commit 9cd7871
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conferences/2025/general.json
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@
},
{
"name": "LeadingEng New York",
"url": "https://shorturl.at/nlRxc",
"url": "https://leaddev.com/leadingeng-new-york",
"startDate": "2025-10-17",
"endDate": "2025-10-17",
"city": "New York, NY",
Expand Down
2 changes: 1 addition & 1 deletion scripts/utils/checkConference.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const maxDurationInDays: number = 10;
const twitterRegex: RegExp = /@\w([\w\.]){1,15}$/;
const httpRegex: RegExp = /^http(s?):\/\//;
const httpNoQuestionmarkRegex: RegExp = /\?/;
const urlShortener: RegExp = /(\/bit\.ly)|(\/t\.co)/;
const urlShortener: RegExp = /(bit\.ly)|(\/t\.co)|(shorturl)/;
const usaStateRegex: RegExp = /, ([A-Z][A-Z])|(D.C.)$/;
const emptyStringRegex: RegExp = /^\s+$|^$/gi;
const onlineRegex: RegExp = /online|remote|everywhere|world|web|global|virtual|www|http/i;
Expand Down

0 comments on commit 9cd7871

Please sign in to comment.