Closed mxsnq closed 4 years ago
Provided pattern only checks for valid URLs, so I made a simple fix to remove date and range specs before applying it. Possible improvements:
Rewrote this with try { new URL ... }, it matches date/numeric ranges in path
try { new URL ... }
Provided pattern only checks for valid URLs, so I made a simple fix to remove date and range specs before applying it. Possible improvements: