fix(curriculum): correct caret name (#64478)

This commit is contained in:
Rudra
2025-12-11 01:38:27 +05:30
committed by GitHub
parent f5ee8780bc
commit 6a81d5fcce

View File

@@ -143,7 +143,7 @@ Looking at this example, you can see how the state of the regular expression cha
The global flag is great when you need to get multiple matches from a single string. But if you're testing multiple strings with the same regular expression it's best to leave the `g` flag off.
Before learning about the next flag, you need to learn about anchors. The carrot (`^`) anchor, at the beginning of the regular expression, says "match the start of the string":
Before learning about the next flag, you need to learn about anchors. The caret (`^`) anchor, at the beginning of the regular expression, says "match the start of the string":
```js
const start = /^freecodecamp/i;