balazsbotond / urlcat

A URL builder library for JavaScript.
https://urlcat.org
MIT License
1.82k stars 57 forks source link

support the "asdf:asdf" URI pattern (via ":var::var" template) #184

Closed msmyers closed 1 year ago

msmyers commented 2 years ago

Summary

I wish to create URI's with the resulting syntax of "part:part:part/part/part", but the regex does not support any way to have the resulting string contain colons.

Details

I modified the regex to require a letter after a colon.

balazsbotond commented 1 year ago

Nice catch, thank you!