4 ms·
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
by whizzter 5y 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.
- chippiewill 5y agoYou can see the fix they made in the linked MR. It wasn't a regex, they just did a generic "ends with" check.