Commit ec81513
committed
Change
Commit 10d1b1f added a hint about which word would be found by
a certain regexp:
"A call to str.match(/\w+/) will find only the first word in the line
(var). That’s not it."
Unfortunately the result is incorrect: the regexp would find `let`, not
`var`.
Updating the hint should resolve any confusion. The example has been
tested in the console to ensure that the regexp does indeed return
`let`.var to let in 7.16 regexp-sticky1 parent dccca58 commit ec81513
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments