fix(learn): removing unnecessary test case for regex challenge (#40581)
Co-authored-by: Alejandro Soto <alejandro.soto@wundermanthompson.com>
This commit is contained in:
@ -43,15 +43,6 @@ Your regex should reuse a capture group twice.
|
|||||||
assert(reRegex.source.match(/\\1|\\2/g).length >= 2);
|
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"`.
|
Your regex should match `"42 42 42"`.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
Reference in New Issue
Block a user