First, thanks for the great work, you saved me a lot of time!
Just a heads up: your YouTube regex (here) is a bit too loose. It will match URLs like https://example.dev/. I found this out the hard way when my server kept choking. I think it would be great to use a different regex.
First, thanks for the great work, you saved me a lot of time!
Just a heads up: your YouTube regex (here) is a bit too loose. It will match URLs like
https://example.dev/
. I found this out the hard way when my server kept choking. I think it would be great to use a different regex.