This also allows String.prototype.matchAll to work, as all calls to that method result in an invocation to @@matchAll.