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
|
||||
|
||||
```js
|
||||
assert(/\?/g.test(myRegex));
|
||||
assert(/[^\\][\*\+\?]\?/.test(myRegex));
|
||||
```
|
||||
|
||||
`myRegex` should not include the string `h1`
|
||||
|
Reference in New Issue
Block a user