mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
fix(curriculum): corrected character class regex check (#53277)
This commit is contained in:
parent
b2568ad97b
commit
2aee6c99fa
@ -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`.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user