[enh] adds regexp to mimetype validation