I already had some experience with regular expressions years ago, so I thought the lesson on them in FreeCodeCamp.org wouldn’t take me all afternoon. I was wrong: they’re really hard. These were the first exercises where I had to look at the hints.
In my defense, for the first exercise where I looked at the hints, it was because the solution required the use of the parentheses operators, which hadn’t yet been introduced. Grrr.
As for the second exercise where I looked at the hints, well, it was just hard. For me, anyway.