Fix upload map regexp