turn off regex insecure warning