denoland / docland

The documentation generation website for Deno
https://doc.deno.land
MIT License
122 stars 28 forks source link

fix: URL regex for deno.land/x modules #182

Closed nberlette closed 2 years ago

nberlette commented 2 years ago

Should fix broken documentation links for modules with numeric digits in their names.

Currently only a-zA-Z_ is permitted in the code, but the registry allows modules with names like https://deno.land/x/911 to be registered.

Thanks!

nberlette commented 2 years ago

@kt3k I updated the pattern and also removed an unnecessary ? on the version subgroup.

Thanks for your review!