lighten location regexp in configurator