Re:Show HN: 15-question programming quiz with answers
by FalconNL on Tuesday May 23, 2017 @01:43PM
(#14403323)
The wording on question 9 (the regex one) is a little unclear: both b[l].e and ([^b]b[^b]*){3} will match blabber but not babel. Presumably the intended meaning is that the entire string must be matched, but the question does not make this explicit.
[ Parent
| on HN ]
Re:Show HN: 15-question programming quiz with answers
by ammon on Tuesday May 23, 2017 @01:47PM
(#14403372)
Just added anchors to the expressions. Thanks for pointing this out!
Re:Show HN: 15-question programming quiz with answers
by aaronblohowiak on Tuesday May 23, 2017 @01:57PM
(#14403495)
I got the same one wrong, for the same reason. I picked the first one that worked instead of looking at all and picking the best one.