added regex option for allowed origins

I needed to be able to add *.example.com