Expose regexp used to test upon mime

Exports was reassigned, so line 68 regexp was not exported.
Not really sure if it was intended to be hidden, but I can not access regexp via require.

I made this change so it will.