Skip to content

Instantly share code, notes, and snippets.

@irrationalRock
Created April 7, 2018 18:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save irrationalRock/fef831b805e788fc5daeb99ee1fb0404 to your computer and use it in GitHub Desktop.
Save irrationalRock/fef831b805e788fc5daeb99ee1fb0404 to your computer and use it in GitHub Desktop.
if in brave
//if (case1Reg.test(str)) {
// return true
//}
//if (case2Reg.test(str) || !case3Reg.test(str) ||
// (scheme === undefined && /\s/g.test(str))) {
// return true
//}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment