So I'm working with Cypress and I'm attempting to understand how to verify a URL via regex matching; but I want to use several character sets in the regex, and I want to add a variable as well. Not ...
Adapted from JavaScript identifier validator by Mathias Bynens and repackaged as an npm module.