sindresorhus / normalize-url

Normalize a URL
MIT License
840 stars 122 forks source link

Add `useJsRegexpLookbehind` option (#105) #144

Closed loynoir closed 3 years ago

loynoir commented 3 years ago

As SyntaxError can not be try-catch, use new RegExp to avoid js parser error.