Skip to content

Commit

Permalink
Add test for non-latin char before colon before scheme url
Browse files Browse the repository at this point in the history
  • Loading branch information
gregjacobs committed Dec 16, 2024
1 parent e239b9a commit 77d70bf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions scripts/update-tld-regex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export async function updateTldRegex() {
dedent`
// NOTE: THIS IS A GENERATED FILE\n// To update with the latest TLD list, run \`npm run update-tld-regex\`
// prettier-ignore
export const tldRegexStr = '(?:${tldRegexStr})';\n
export const tldRegex = new RegExp('^' + tldRegexStr + '$');
Expand Down
Loading

0 comments on commit 77d70bf

Please sign in to comment.