mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-23 04:03:42 -04:00
fix(curriculum): corrected character class regex check (#53277)
This commit is contained in:
@@ -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`.
|
||||
|
||||
Reference in New Issue
Block a user