3 points
4 points
Substring is not string.
If they were interchangeable, then “D” & “d” should be too.
2 points
down
matches because *
*
also includes empty string. Also download
matches *
D
matches D*
but d
is not matching D*
because D
is a different character than d
.
1 point
*
but why do we have to match specifically against substr*
? it’s not a law of nature, we could also match against the regex (?i)substr(?-i).*
not saying that one option is necessarily better, but I don’t see a good reason for which any one of these options would be terrible