fix(curriculum): improve lazy matching test regex (#42882)
This commit is contained in:
@ -33,7 +33,7 @@ assert(result[0] == '<h1>');
|
|||||||
`myRegex` should use lazy matching
|
`myRegex` should use lazy matching
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert(/\?/g.test(myRegex));
|
assert(/[^\\][\*\+\?]\?/.test(myRegex));
|
||||||
```
|
```
|
||||||
|
|
||||||
`myRegex` should not include the string `h1`
|
`myRegex` should not include the string `h1`
|
||||||
|
Reference in New Issue
Block a user