marijnh / Eloquent-JavaScript

The sources for the Eloquent JavaScript book
https://eloquentjavascript.net
3.01k stars 796 forks source link

Chapter 9 Summary #308

Closed dhollinden closed 6 years ago

dhollinden commented 6 years ago

The summary states:

"/x{2,4}/ Between two and four occurrences"

Would it be better to say

"Between two and four occurrences, inclusive"

or as you state earlier in the chapter

"the element must occur at least twice and at most four times"

marijnh commented 6 years ago

How about "two to four occurrences"?

dhollinden commented 6 years ago

perfect. thanks

marijnh commented 6 years ago

Done in attached patch! Thanks for pointing it out.