fix(learn): removing unnecessary test case for regex challenge (#40581)

Co-authored-by: Alejandro Soto <alejandro.soto@wundermanthompson.com>
This commit is contained in:
Alex Soto 2021-01-20 23:53:04 -06:00 committed by GitHub
parent dd4c7e0097
commit ef394093f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,15 +43,6 @@ Your regex should reuse a capture group twice.
assert(reRegex.source.match(/\\1|\\2/g).length >= 2);
```
Your regex should have two spaces separating the three numbers.
```js
assert(
reRegex.source.match(/ |\\s/g).length === 2 ||
reRegex.source.match(/\(\\s\)(?=.*\\(1|2))/g)
);
```
Your regex should match `"42 42 42"`.
```js