fix(curriculum): corrected character class regex check (#53277)

This commit is contained in:
mccarreon
2024-01-19 01:01:15 -08:00
committed by GitHub
parent b2568ad97b
commit 2aee6c99fa

View File

@@ -24,7 +24,7 @@ assert.match(dollarRegex.source, /\[.*\]/);
Your character class should be `0-9`.
```js
assert.match(dollarRegex.source, /\[0-9\]/);
assert.match(dollarRegex.source, /\[0-9\] dollars/);
```
Your `dollarRegex` should match `1 dollars`.