Y
Hacker News
new
|
ask
|
show
|
jobs
by
whizzter
1743 days ago
Somebody probably put in a regexp with .mov$ , however for regexps the dot (.) matches everything (and $ matches end) so the i in asimov is eaten regardless and then the rest of the match succeeds.
1 comments
chippiewill
1743 days ago
You can see the fix they made in the linked MR.
It wasn't a regex, they just did a generic "ends with" check.
link
It wasn't a regex, they just did a generic "ends with" check.