fix(learn): removing unnecessary test case for regex challenge (#40581)
Co-authored-by: Alejandro Soto <alejandro.soto@wundermanthompson.com>
This commit is contained in:
parent
dd4c7e0097
commit
ef394093f7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user