cdxserver: add ~ to indicate contains matching instead of regex