fix(learn): add test case to regex challenge (#40087)
existing test cases can be satisfied by /^[a-z][a-z]+$|^[a-z][a-z]*\d\d+$/ipull/40144/head
parent
2d69fcb787
commit
1badd3c3a6
|
@ -47,6 +47,8 @@ tests:
|
|||
testString: assert(userCheck.test("Z97"));
|
||||
- text: Your regex should not match <code>c57bT3</code>
|
||||
testString: assert(!userCheck.test("c57bT3"));
|
||||
- text: Your regex should match <code>AB1</code>
|
||||
testString: assert(userCheck.test("AB1"));
|
||||
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue