userCheck
to fit the constraints listed above.
JACK
testString: assert(userCheck.test("JACK"));
- text: Your regex should not match J
testString: assert(!userCheck.test("J"));
- text: Your regex should match Jo
testString: assert(userCheck.test("Jo"));
- text: Your regex should match Oceans11
testString: assert(userCheck.test("Oceans11"));
- text: Your regex should match RegexGuru
testString: assert(userCheck.test("RegexGuru"));
- text: Your regex should not match 007
testString: assert(!userCheck.test("007"));
- text: Your regex should not match 9
testString: assert(!userCheck.test("9"));
- text: Your regex should not match A1
testString: assert(!userCheck.test("A1"));
- text: Your regex should not match BadUs3rnam3
testString: assert(!userCheck.test("BadUs3rnam3"));
- text: Your regex should match Z97
testString: assert(userCheck.test("Z97"));
- text: Your regex should not match c57bT3
testString: assert(!userCheck.test("c57bT3"));
- text: Your regex should match AB1
testString: assert(userCheck.test("AB1"));
```