regexConfig.replace = replace;
regexConfig.fieldSet = fieldSet;
regexConfig.compressed = null;
regexConfig.type = type;
if (null == dim) {
Dimension x = DimensionUtility.getDimensionByType(type);
if (null == x) {
x = Dimension.What;
}
dim = x.toString();
//DEBUG
if (_DEBUG) System.out.println("pKV5: Guess dim = " + dim + " from " + type);
}//TESTED (test1)
regexConfig.dimension = dim;