Strict mode compatibility

Why /[\D|\d]*/ instead of /.*/?