Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
FalconNL
· 9y ago · 0 comments
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.
Comments
[–]
ammon
9y ago
Just added anchors to the expressions. Thanks for pointing this out!
[–]
aaronblohowiak
9y ago
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.
[–]
acconrad
9y ago
Glad someone pointed that out. I chose b[l].e and got it wrong and was scratching my head...
[–]
krallja
9y ago
I'm ashamed that the only one I missed was this regexp question, even after the anchors were added.