sindresorhus / normalize-url

Normalize a URL
MIT License
837 stars 123 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.