Skip to content

Commit 81338fc

Browse files
committed
better dash syntax in regex group
1 parent 37236f2 commit 81338fc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

url-check-config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@
3838
"^https://github.com/org_name/codebase_name.git": "bogus example URL",
3939
"^http[s]\\?://github\\.com/.*/edit/": "may point to yet-to-exist page",
4040
"^http[s]\\?://docs\\.github\\.com/": "seems blocked as DoS protection",
41-
"^http[s]\\?://github\\.com/[0-9A-Za-z_\\-\\./]\\+/\\(issues\\|pull\\)/[0-9]\\+[\\.,)]*": "ignore github issues and PRs",
41+
"^http[s]\\?://github\\.com/[-0-9A-Za-z_\\./]\\+/\\(issues\\|pull\\)/[0-9]\\+[\\.,)]*": "ignore github issues and PRs",
4242
"plausible\\.io/js/plausible\\.js": "does not serve to scripts",
43+
"^https://github.com/publiccodenet/standard/compare/main...release": "example URL in docs/releasing",
4344
"opensource\\.org": "failed: 503 No error",
4445
"belastingdienst\\.nl/wps/wcm/connect/bldcontenten": "regular timeouts",
4546
"reclameland\\.nl/drukken/softcover-boeken": "failed: 403 No error",
@@ -69,6 +70,7 @@
6970
"lists\\.publiccode\\.net/mailman/": "frequent timeouts",
7071
"https://wetten\\.overheid\\.nl/BWBR0025279/2013-01-01": "times out",
7172
"amsterdam\\.nl/en/": "frequent timeouts",
73+
"https://flickr.com/e/tFzM3d9XsB": "defunct, embedded in a .jpg",
7274
"^http[s]\\?://www\\.figma\\.com": "gives 404 to curl"
7375
},
7476
"transforms" : {
@@ -84,7 +86,7 @@
8486
"remove trailing punctuation from links ending in '.pdf'",
8587
"sed 's@Open_air_school).$@Open_air_school@'":
8688
"remove trailing punctuation'",
87-
"sed 's@\\(nextcloud/index.php/s/[0-9a-zA-Z]*\\)[\\.,)]*$@\\1@'":
89+
"sed 's@\\(nextcloud/index.php/s/[-0-9a-zA-Z]*\\)[\\.,)]*$@\\1@'":
8890
"remove trailing punctuation from nextcloud files",
8991
"sed 's@poortwachter[\\.,)]*$@poortwachter@'":
9092
"remove trailing punctuation",

0 commit comments

Comments
 (0)